Within
your calculations, FormCalc allows you to create and manipulate
variables for storing data. The name you assign to each variable
you create must be a unique Identifiers.
For example, the following FormCalc expressions define the userName
variable and set the value of a text field to be the value of userName.
var userName = "Tony Blue"
TextField1.rawValue = userName
You can reference variables that you define in the Variables
tab of the Form Properties dialog box in the same way. The following
FormCalc expression uses the Concat function to set the value of
the text field using the form variables salutation and name.
TextField1.rawValue = Concat(salutation, name)
Note: A variable you create using FormCalc will supersede
a similarly named variable you define in the Variables tab of the
Form Properties dialog box.
|
|
|