Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There exist two items "input field" in the Fields-dialog, one is in dialog page "Functions" and the other in dialog page "Variables"; the latter is bind to a variable. It is that variable, that is selected from the selection list in the middle of the dialog, when you insert the input field. If you want to use the variable "User Field" with such an input field, you have to click the green check mark to add the name of the "User field" to the selection list. But I guess an invisible "Set Variable" and many "Show Variable" will work better for you, because it does not allow to edit the variable value in any place, but only by the input field (and by the hidden "Set" field).

If you use "Set Variable" and "Show Variable", then the value entered in the input field will only change the value of the variable after the position of the input field. So you need an invisible (checkbox) "Set Variable" (format "Text"), followed by the visible input field at the first occurrence of the variable text in your document; and afterwards "Show variable" whenever you need its value.

There exist two items "input field" in the Fields-dialog, one is in dialog page "Functions" and the other in dialog page "Variables"; the latter is bind to a variable. It is that variable, that is selected from the selection list in the middle of the dialog, when you insert the input field. If you want to use the variable "User Field" with such an input field, you have to click the green check mark to add the name of the "User field" to the selection list. But I guess an invisible "Set Variable" and many "Show Variable" will work better for you, because it does not allow to edit the variable value in any place, but only by the input field (and by the hidden "Set" field).

If you use "Set Variable" and "Show Variable", then the value entered in the input field will only change the value of the variable after the position of the input field. So you need an invisible (checkbox) "Set Variable" (format "Text"), followed by the visible input field at the first occurrence of the variable text in your document; and afterwards "Show variable" whenever you need its value.

Step-by-step

  1. Set the cursor at beginning of your text. Insert > Fields > Others… > Variables.
  2. Click on item "Set Variable" in list "Type" and on item "Text" in list "Format". In the lower part enter an identifier for the variable into the field "Name", for example "Salutation". Enter an initial text into the field "Value". Check the box "invisible", because the user will not enter the values directly but use an input field. Click button "Insert". Notice, that the identifier is now listed in the list "Selection" in the middle of the dialog. Click button "Close".
  3. Set the cursor at the place of the first occurance of the variable in your text. Insert > Fields > Others… > Variables. Click item "Input Field" in the list "Type". Click on your identifier item (e.g. Salutation) in the list "Selection". Enter an information, what the user is expected to enter, in the field "Reference". Click button "Insert". You get the "Input Field"-dialog. Notice the text you entered in "Reference" is shown as topic. Enter the desired value of the variable in the field below. Click button "OK", click button "Close".
  4. Set the cursor at the place where you want to show the variable. Insert > Fields > Others… > Variables. Click on item "Show Variable" in the list "Type" and on the identifier (e.g. Salutation) in the list "Selection". Click on button "Insert", click on button "Close".
  5. Repeat step 4 for each place, where you need the variable value.