Overview
Last updated 26/03/2026
Form Events
Form events provide a structured way to execute logic in response to user interactions within a form. These events are triggered at key points during the form's lifecycle, such as when a form is opened, submitted, or cancelled, allowing you to control how the application behaves as users interact with it.
Events
| Event | Executes | Description |
|---|---|---|
| Do Create | Server | Executes when a record is selected in a list as the server creates the data to be displayed in the form. |
| On Selection | Client | Executes when a form record is selected in a list. |
| On Show | Client | Executes when the form record is displayed. |
| On Add | Client | Executes when the Add Item button is clicked. |
| On Edit | Client | Executes when the form goes into edit mode either by clicking the Edit button in the form app bar, or by clicking in a field. |
| On Cancel | Client | Executes when the Cancel button is clicked. |
| On Sub Form Complete | Client | Executes when the Save button in the form app bar on a sub-form is clicked. |
| On Complete | Client | Executes in the browser when the Save button is clicked on the top-level form before the data is sent to the server. |
| Do Complete | Server | Executes when the Save button is clicked on the top-level form and before the data is saved to the database. This includes all sub-forms. If an error occurs, an error will be displayed to the user and the data won't be saved to the database until the user enters the correct data. |
| On Finish | Client | Executes after all forms and sub-forms have been committed to the server. |