Skip to main content

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

EventExecutesDescription
Do CreateServerExecutes when a record is selected in a list as the server creates the data to be displayed in the form.
On SelectionClientExecutes when a form record is selected in a list.
On ShowClientExecutes when the form record is displayed.
On AddClientExecutes when the Add Item button is clicked.
On EditClientExecutes 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 CancelClientExecutes when the Cancel button is clicked.
On Sub Form CompleteClientExecutes when the Save button in the form app bar on a sub-form is clicked.
On CompleteClientExecutes in the browser when the Save button is clicked on the top-level form before the data is sent to the server.
Do CompleteServerExecutes 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 FinishClientExecutes after all forms and sub-forms have been committed to the server.