WSForm.generate method
Description
Use WSForm.generate
to generate a form event.
Syntax
WSForm.generate(eventName, callbackFn, async)
Parameters
This table describes the method parameters.
Name | Type | Description |
---|---|---|
eventName | String | Specify the name of an event to generate on the form. |
callbackFn |
Function | Optionally, specify this function to call when the event handlers have
been executed, or when the event has been queued if async
is set as true. |
async |
Boolean | Optionally, if set as true, PostEvent is generated asynchronously. |