# 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="/files/8LsRbqkjzjEyKfq3y0F2" alt=""><figcaption></figcaption></figure>

#### Save form

<figure><img src="/files/uxHGSg7zTSmiNwDywtoe" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/U0wfmhdW4Ru4y21dVHMh" alt=""><figcaption></figcaption></figure>

#### Delete form

<figure><img src="/files/9Ep9QVtidLhnkzlYp7qd" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://academy.any2info.com/any2info-academy/no-code-platform/app-studio/app-logic/forms/forms-events/form-life-cycle.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
