API for Scripting

You can access the form model at runtime by using API methods and properties in your JavaScript scripts.

Note: The API described here can be used for writing validations as well as actions. Updating form fields or their properties is allowed only in the context of actions. Validation scripts cannot modify the fields or their properties.