WSForm.getVarValue method

Description

Use WSForm.getVarValue to retrieve the value of a form variable.

Syntax

WSForm.getVarValue(variableName, callbackFn)

Parameters

This table describes the method parameters.

Name Type Description
variableName String Specify the name of a form variable.
callbackFn Function Specify this function to call when the value of the variable has been retrieved. This function must define a single parameter which contains the variable’s value.