WSForm.invoke method

Description

Use WSForm.invoke to invoke a form script method.

Syntax

WSForm.invoke(methodName, [parameter1[,...]], callbackFn)

Parameters

This table describes the method parameters.

Name Type Description
methodName String Specify the name of a form script method to invoke.
parameter<n> Any Specify a list of method parameters corresponding to the form script method parameters.
callbackFn Function Optionally, specify this function to call when the method has been completed.