WSForm.setVarValue method
Description
Use WSForm.setVarValue to set the value of a form variable.
Syntax
WSForm.setVarValue(variableName, value,
               callbackFn)
Parameters
This table describes the method parameters.
| Name | Type | Description | 
|---|---|---|
| variableName | String | Specify the name of a form variable. | 
| value | String | Specify the new value to assign to the variable. | 
| callbackFn | Function | Optionally, specify this function to call when the value of the variable has been set. |