Invokes a custom function defined within the 'custom code' property or registered using createCustomFn.
Custom JavaScript functions can be included via the Custom Code property in the Form Settings menu or created using .createCustomFn.
The function must exist with the name specified. Any arguments needed by the function should be supplied after the function name.
Any value returned by the invoked function will be returned by this function.
Arguments
Argument | Type | Description |
---|---|---|
customFnName | String, required | The name of the function to invoke |
arg1 | Any, optional | Additional function parameter |
arg2 | Any, optional | Additional function parameter |
argN | Any, optional | Additional function parameters |
Returns
Any.
Example
See .createCustomFn for an example.
Last modified on February 22, 2024