# Form life cycle

Since version 4.3 form definitions support events. In version 4.3 we only supported the "On form open" event but since 4.5 we support a number of new events.

Currently supported form definition events:

* On form open
* On form created
* On form saved
* On new form saved
* On form updated
* Before form saved
* Before form deleted

### When are events triggered

Below are three scenarios shown and when the events are triggered. All the steps are color coded.

**Blue**: actions which take place on the client (Web or app)

**Light blue**: conditions

**Yellow**: Are the events, when an event is executed all related action (Linked fields, calculations, action flows) are executed before the flow continues

**Green**: server side actions

#### Open form

<figure><img src="https://870194474-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M_kE41Rl4pOtwKfvvQq%2Fuploads%2F38w24frMCwqWBJhjPDmi%2FForm%20life%20cycle%20Open%20Form%20Event%20Image.png?alt=media&#x26;token=a4edefb9-e167-4ca6-a95e-6201c2593fd9" alt=""><figcaption></figcaption></figure>

#### Save form

<figure><img src="https://870194474-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M_kE41Rl4pOtwKfvvQq%2Fuploads%2FeAhY1BeUZnAO331D1kZw%2FForm%20lifecycle%20Save%20Form%20Event%20Image.png?alt=media&#x26;token=35b9d8b4-734c-4f25-8ff0-79612a7d24bf" alt=""><figcaption></figcaption></figure>

<figure><img src="https://870194474-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M_kE41Rl4pOtwKfvvQq%2Fuploads%2FUSwYUymFub2f49SsjfYR%2FForm%20life%20cycle%20Perform%20Save%20Event%20Image.png?alt=media&#x26;token=1d583e4f-c4f1-468e-aa0e-8e68cb762988" alt=""><figcaption></figcaption></figure>

#### Delete form

<figure><img src="https://870194474-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M_kE41Rl4pOtwKfvvQq%2Fuploads%2Fd5sJuVPaGcrXQC3jS2f4%2FForm%20lifecycle%20Delete%20Form%20Event%20Image.png?alt=media&#x26;token=0c4c1480-9a08-4761-83e3-12ff7aa619ee" alt=""><figcaption></figcaption></figure>
