Connect input field with variables

How can I connect an input field with many variables?

I just want to input a single value by input field then this value should be copy automatically to the specified variables.

Example: I’ll input the following text:

“Dear InputFieldValue(Mr) Ibrahim can I call variable1(Mr) George and variable1(Mr) John?”

What do you mean by “input field” in this context? A text field like you see in forms?

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.

Thank for reply but I couldn’t know how to apply your suggestion. May you please guide me step by step how can I do it? I want to use “input field” from “Variables” page

Thanks a lot this is exactly what I’m looking for.