Event Listening
In some complex scenarios, it is necessary to listen to form change events to execute programs with specific functions. For example, after a user enters a value in an integer field input box, an automation program needs to be called based on the user's input to check whether the entered number meets the requirements.
Listenable Events
- Form initialization, triggered after the form is initialized
- After form field value changes, triggered after the form's field values change
- After form data is reloaded
- After form field values change
- After form subtable field values are loaded
- After form subtable field values are reloaded
Usage Instructions
When an event listener is triggered, it calls the set automation program and passes the form event object to the automation program.
When the form contains the three types of fields: associated list, lookup list, and sub-object, when a row in the subtable changes, it will trigger the after form field value changes event of the data table corresponding to the subtable.
Usage Example
For example, the structure of the form is as follows:
Project
| Field Name | Field Type | Description |
|---|---|---|
| Name | Single Text | |
| Associated Tasks | Lookup List | Associated with Tasks |
Task
| Field Name | Field Type | Description |
|---|---|---|
| Name | Single Text | |
| Type | Single Text |
- When the
Namefield of the project table changes, it triggers theafter form field value changesevent of theProjecttable. - When the
Associated Tasksfield of the project table changes, it triggers theafter form field value changesevent of theProjecttable, and the changed field isAssociated Tasks. - When the
Associated Tasksfield of the project table changes, it triggers theafter form field value changesevent of theTasktable, and the changed field is the field that was modified in theTasktable.

