# Actions

Formulas are assigned to actions like *On click, On switch* or *On input*. If a user performs an action, the according formula is executed.

The available actions depend on the widget type. So an *On click* action is available for a button widget, but not for a menu widget. The following actions are available:

* **On open** - executed when a page is opened.
* **On close** - executed when a page is closed.
* **On click** - executed after the user clicks on the widget, e.g. a button, a table cell or an element of a chart. This action is executed as well if the selection of a table cell is changed with cursor keys.
* **On input** - executed after the user enters a new value into a cell widget or a table cell.
* **On switch** - executed after the user switches a menu.


---

# 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://docs.nedyx.com/nedyx/clearlines-functions/general-aspects/actions.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.
