WSForm.getCompValue method

Description

Use WSForm.getCompValue to retrieve the value of a component on the form.

Syntax

WSForm.getCompValue(componentName, callbackFn)

Parameters

This table describes the method parameters.

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