- PDF-form.lyx: update accordingly and a fix
\begin_layout Standard
You must also specify a field name for text fields: Set the cursor into
\begin_layout Standard
You must also specify a field name for text fields: Set the cursor into
- the inset and use the menu
-Insert\SpecialChar \menuseparator
-PDF
-\begin_inset space ~
-\end_inset
-
-form
-\begin_inset space ~
-\end_inset
-
-parameters
There insert for example the parameter
\series bold
name=customer
There insert for example the parameter
\series bold
name=customer
of the name can be omitted.
\end_layout
of the name can be omitted.
\end_layout
-\begin_layout Standard
-All form fields can be customized by adding a parameter inset to them.
- To do this, set the cursor into the field inset and use the menu
-\family sans
-Insert\SpecialChar \menuseparator
-PDF
-\begin_inset space ~
-\end_inset
-
-form
-\begin_inset space ~
-\end_inset
-
-parameters
-\family default
-.
-\end_layout
-
\begin_layout Standard
\begin_inset Note Greyedout
status open
\begin_layout Standard
\begin_inset Note Greyedout
status open
+\begin_layout Standard
+All form fields can be customized by adding parameters.
+\end_layout
+
\begin_layout Standard
Here is a customized multiline text field with a width of 5
\begin_inset space \thinspace{}
\begin_layout Standard
Here is a customized multiline text field with a width of 5
\begin_inset space \thinspace{}
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-You must also specify a field name for check boxes: Set the cursor into
- the inset and use the menu
-\family sans
-Insert\SpecialChar \menuseparator
-PDF
-\begin_inset space ~
-\end_inset
-
-form
-\begin_inset space ~
-\end_inset
-
-parameters
-\family default
-.
- There insert for example the parameter
+You must also specify a field name for check boxes: Insert for example the
+ parameter
\series bold
name=age
\series default
\series bold
name=age
\series default
\series bold
age
\series default
\series bold
age
\series default
+ is the field name) into the
+\family sans
+Params
+\family default
+ inset.
Only if your check box has a label and no parameters the specification
of the name can be omitted.
\end_layout
Only if your check box has a label and no parameters the specification
of the name can be omitted.
\end_layout
ChoiceMenu
\family default
.
ChoiceMenu
\family default
.
- The label is inserted into the
+ A label for the inset is added by using the menu
+Insert\SpecialChar \menuseparator
- inset.
- The choices are inserted to the inset as comma-separated list.
+.
+ Insert the label text into this inset.
+\begin_inset Newline newline
+\end_inset
+
+The different choices are inserted to the inset as comma-separated list.
There are 3
\begin_inset space ~
\end_inset
There are 3
\begin_inset space ~
\end_inset
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-To determine the choice menu type, set the cursor into the inset and use
- the menu
-\family sans
-Insert\SpecialChar \menuseparator
-PDF
-\begin_inset space ~
-\end_inset
-
-form
-\begin_inset space ~
-\end_inset
-
-parameters
-\family default
-.
- There insert the parameter
+To determine the choice menu type, add the parameter
\series bold
radio
\series default
\series bold
radio
\series default
\begin_layout Standard
It is recommended to add a short name for every choice to be able to access
\begin_layout Standard
It is recommended to add a short name for every choice to be able to access
- them and to know which one was chosen by the user- This is done by adding
-
+ them and to know which one was chosen by the user.
+ This is done by adding
\series bold
=name
\series default
\series bold
=name
\series default
\begin_layout Standard
The action that is triggered by pressing the button is specified by JavaScript
code.
\begin_layout Standard
The action that is triggered by pressing the button is specified by JavaScript
code.
- To specify it, set the cursor into the inset and use the menu
-\family sans
-Insert\SpecialChar \menuseparator
-PDF
-\begin_inset space ~
-\end_inset
-
-form
-\begin_inset space ~
-\end_inset
-
-parameters
-\family default
-.
- There insert the parameter
+ To specify it, add the parameter
\series bold
onclick={}
\series default
\series bold
onclick={}
\series default
Note:
\series default
If you have more than one submit button in your document you must specify
Note:
\series default
If you have more than one submit button in your document you must specify
- a name for each of them to avoid LaTeX errors! For example write
+ a name for each of them to avoid LaTeX errors! For example add
\series bold
name=submit1
\series default
\series bold
name=submit1
\series default
Note:
\series default
If you have more than one reset button in your document you must specify
Note:
\series default
If you have more than one reset button in your document you must specify
- a name for each of them to avoid LaTeX errors! For example write
+ a name for each of them to avoid LaTeX errors! For example add
\series default
(where
\series bold
\series default
(where
\series bold
\series default
is the button name).
\end_layout
\series default
is the button name).
\end_layout
MenuString "PDF form parameters"
LabelString "Params"
Tooltip "Insert PDF form parameters here"
MenuString "PDF form parameters"
LabelString "Params"
Tooltip "Insert PDF form parameters here"
EndArgument
LabelFont
Series Bold
EndArgument
LabelFont
Series Bold
MenuString "PDF form parameters"
LabelString "Params"
Tooltip "Insert PDF form parameters here"
MenuString "PDF form parameters"
LabelString "Params"
Tooltip "Insert PDF form parameters here"
EndArgument
PassThru 1
LabelFont
EndArgument
PassThru 1
LabelFont