Events
Team Forms supports triggering custom logic in your form. This logic can be useful for actions like dynamically updating a component’s properties (e.g., disable) based on certain events or conditions. Below is a list of officially supported events with an explanation.
💡Logic is an advanced function, in most cases this functionality is not required and we would instead recommend keeping your form simple
Event | Description |
Change | Trigger when ever the data entered in a form is changed. This will include when opening a previous response |
Error | When there is an error detected in the form. E.g. that user attempts to submit a form with without entering data into a required field |
Form Load | Triggered when a form or response is opened |
Submit | Triggered when a user submits the form |
Redraw | Trigged anytime a component is redrawn. A component is usually re-drawn any time there is a change however this can be configrued per component using the “redraw on” property |
Render | When the form finished opening for the first time and is visible on the screen |
Initialize | When the form has opened and finished loading |
Row Add | When a user adds another row to a data-grid or edit grid |
Row Delete | When a user removes a row from a data grid or edit grid |
Next Page | When a user navigates to the next page of a multi-page form (wizard) |
Previous Page | When a user navigates to the previous page of a multi-page form (wizard) |
Edit Grid Add Row | When a user adds a new row to an edit grid |
Custom | When a user defined event is triggered. A user can create a custom event by:
|