> For the complete documentation index, see [llms.txt](https://doc.sysdevmobile.com/kalipso/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.sysdevmobile.com/kalipso/documentation/form/actions.md).

# Actions

In this tab you can add actions to the active form.

Actions are the core of Kalipso. All logic of a Project is defined with Actions. Actions are what in other language you would call “code”. Kalipso has over 400 Actions and is constantly growing. You can use Actions with [Controls](/kalipso/documentation/controls.md), [Global Action Sets](/kalipso/documentation/environment/project-explorer/global-action-sets.md) and [Local Actions Sets](/kalipso/documentation/form/local-action-sets.md).

<figure><img src="https://1614058754-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ5vDGuBZwhJDeu5Rq7Wt%2Fuploads%2Fgit-blob-593f5c4d6480ca39e939dd47521a08feb8939f28%2Fform_actions_1.png?alt=media" alt=""><figcaption></figcaption></figure>

Actions must be associated with an [Event](/kalipso/documentation/controls/events.md). An Event is what will trigger the Actions.

Actions available on Kalipso are classified by groups and subgroups (see more [here](/kalipso/documentation/actions.md).). To add an Action, select the Group where it is among the buttons on the left side, then drag and drop the Action that you want from the tree to the table at right; in this case, the Action will be added to the line immediately below the line under the mouse.

Another way to create an Action is to double click it on the tree; in this case, it will be added immediately below the selected line on the table.

A third way, for more experienced users is to set the focus on the table and just start typing the Action name; in this case, the matching Actions will show on the combo above the table.

The window is divided into three parts:

* The left side provides the groups of available actions that, when selected, presents the actions available by subgroups on the right.
* The area on the right shows the actions that can be used in the Event Zone divided by subgroups. These actions are those that make up the previous selection of the action group.
* Event zone where the area for applying actions is available.

**Center bar options**

* **Undo** and **Redo** - Arrows indicating the two functions. The undo (left arrow) is used to reverse a mistake, such as deleting the wrong word in a line. The redo (Right arrow) restores any actions that were previously undone using an undo.
* **Search** - Action research area based on what is written. Indicates Actions suggestions as you type the name.
* **Add Event** - Adds an Event . To know more about Events access [here](/kalipso/documentation/controls/events.md).

<figure><img src="https://1614058754-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ5vDGuBZwhJDeu5Rq7Wt%2Fuploads%2Fgit-blob-9c46e21346e4d42c5749e67e15adf0b522d580dc%2Fform_actions_2.png?alt=media" alt=""><figcaption></figcaption></figure>

*Options:*

* *Key* - Adds a key event to the actions
* *Barcode* - Adds a barcode event
* *Bluetooth* - Adds a Bluetooth event
* *Sensors* - Adds a sensor event
* *NFC* - Adds a NFC event
* *Others* - Adds a non-categorizable event in the previous options.<br>

**Options in the lower left corner**

* **My List** - The "My list" option allows viewing in the second area of the window the actions that the user uses most often. In other words, it is easier access to favorite actions or for more frequent use. To add an action to the list see the pop-up menus below.
* **All** - The "All" option when clicked, displays in the second area of the window all the subgroups of the actions

{% hint style="info" %}
Actions are pre-build therefore you cannot define a new Action. If you have the need of an [Action ](/kalipso/documentation/actions.md)who doesn’t exist on Kalipso, please contact us.
{% endhint %}

### Pop-up menus

To make it easier to use this option, Kalipso provides pop-up menus that aim to optimize the user experience to more easily and effectively meet the objectives. In this way:

When you right-click on an action (in the second area of the window where it appears) the following options appear:

<figure><img src="https://1614058754-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ5vDGuBZwhJDeu5Rq7Wt%2Fuploads%2Fgit-blob-a1d6c10ea686081de87a7e704b35c434559d77ff%2Fform_actions_7.png?alt=media" alt=""><figcaption></figcaption></figure>

* **Add To My List** - Adds the selected action to the My List option.
* **Move First** - In the option "My List" it puts the selected action to first place.
* **Move Up** - In the "My List" option, move the selected action up in the list.
* **Move Down** - In the "My List" option, move the selected action down in the list.
* **Move Last** - In the option "My List" it moves the selected action to last in the list.
* **Sort Alphabetically** - In the "My List" option, sort actions in alphabetical order.
* **Remove From My List** - In the option "My List" removes the selected action from the list.

When you right-click, in the Event Zone on an event, the following options appear:

<figure><img src="https://1614058754-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ5vDGuBZwhJDeu5Rq7Wt%2Fuploads%2Fgit-blob-a09e5a26ac348954cc41ad03ba1f3e31acca0bfa%2Fform_actions_3.png?alt=media" alt=""><figcaption></figcaption></figure>

* **Paste** - Paste a previously copied action
* **Delete Event** - Delete the selected event
* **Comment Event** - Comment mode for all event actions
* **Comment All** - Puts all event actions in comment mode
* **Insert Separator** - Inserts a separator (space) between the actions of an event
* **Expand Actions**- Expand Collapse all actions in the selected event
* **Collapse Actions**- Collapse all actions in the selected event

When you right-click, in the Event Zone on an action, the following options appear:

<figure><img src="https://1614058754-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ5vDGuBZwhJDeu5Rq7Wt%2Fuploads%2Fgit-blob-e848557a302252a688743a29bb10b3332f8fae71%2Fform_actions_4.png?alt=media" alt=""><figcaption></figcaption></figure>

* **Copy** - Copy the selected action
* **Copy as Text** - Copy the selected actions as text to the clipboard so you can paste in any other application.
* **Paste** - Paste a previously copied action
* **Delete** - Delete the selected action
* **Comment** - Puts the action in comment mode
* **Comment Event** - Puts all event actions in comment mode
* **Comment All** - Comments all selected actions
* **Uncomment** - Uncomment the action
* **Uncomment Event** - Uncomment all the action in the event
* **Uncomment All** - Uncomment all select actions
* **Insert Separator** - Inserts a separator (space) between the actions of an event
* **Insert Breakpoint** - Inserts a visual break.
* **Collapse Selected** -
*

```
<figure><img src="../../.gitbook/assets/form_actions_5.png" alt=""><figcaption></figcaption></figure>
```

```
* **Collapse Selected**
* **Collapse All**
* **Collapse All 'On Error'** - Collapse the line with the action to the part of the error indication.
* **Collapse all Default 'On Error'** - Collapses the selected action. Similar to clicking the "minus" sign on the left side of the selected action.
```

* **Expand Selected** - Expands the line with the action
*

```
<figure><img src="../../.gitbook/assets/form_actions_6.png" alt=""><figcaption></figcaption></figure>
```

```
* **Expand All**
* **Expand All 'On Error'** - Expands the selected action if it is collapsed. Similar to clicking the "plus" sign on the left side of the selected action.
```

* **Import** - Import a Local Action Set from another form
* **Open Action Set** - Opens the possibility of including an action set already made.
