Toggle menu

helper.getCallableCustomFnNames()

This function is used to return the names of any functions registered using .createCustomFn or defined in the Form Settings "Custom Code" property. Custom functions are registered with a scope (server on or server and client). Only functions available in the current scope are returned.

Arguments

None.

Returns

An array of strings. Only custom functions in the scope where getCallableCustomFnNames is called are returned.

Example

function(helper, fieldName, value, valid, eventName) {
    let item = helper.getCallableCustomFnNames();
}

Two functions are available in this scope:

[ "anotherFunction", "exampleFunction" ]

Share this page

Facebook icon Twitter icon email icon

Print

print icon