data.addOnLoad (Client API reference)

Adds a function to be called when form data is loaded.

Syntax

formContext.data.addOnLoad(myFunction)

Parameter

Name Type Required Description
myFunction function reference Yes The function to be executed when the form data loads. The function will be added to the bottom of the event handler pipeline. The execution context is automatically passed as the first parameter to the function. See Execution context for more information.

removeOnLoad
Form data OnLoad event