--- title: "Behaviors" slug: "frebehaviours" updated: 2026-04-30T13:12:15Z published: 2026-04-30T13:12:27Z canonical: "docs.lobstersoftware.com/frebehaviours" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # Behaviors Behaviors define advanced logic for a form element. In general, behavior configuration links the following three components: 1. [Events (Form designer)](/v1/docs/en/fretrigger) (e.g. [Click](/v1/docs/en/fretrigger-clicked) or [Changed](/v1/docs/en/fretrigger-changed)), that determine the events that cause the behavior to be executed. 2. Evaluation logic referred to as a **Behavior type** (e.g. [Filled](/v1/docs/en/frebehav-filled) mit or [Items selected](/v1/docs/en/fretrigger-items-selected)), which always returns a Boolean value ("true" or "false") and possibly also certain "behavior data". 3. [Actions](/v1/docs/en/freactions) (e.g. [Show alert](/v1/docs/en/freaction-show-alert) or [Set value](/v1/docs/en/freaction-set-value)), which are executed depending on the Boolean value from the behavior – as **Actions on "true"** or **Actions on "false"**. It is significant that the configuration of a behavior can specify *no* or *several* [Events (Form designer)](/v1/docs/en/fretrigger) and also *no or numerous* [Actions](/v1/docs/en/freactions) but must always address exactly one behavior type. Because of this close (1:1) relationship between a behavior and the behavior type it addresses, simplified language in the product and in the manual sometimes refers to "behavior", where a behavior type is actually meant. **NOTE:** If multiple behaviors with the same [Events (Form designer)](/v1/docs/en/fretrigger) are defined for the same element, they are executed according to their sequence position (from top to bottom). ## Simple example The screenshot shows a sample configuration for a behavior named "Air freight alert" that checks if the "Freight type" [Text field](/v1/docs/en/custom-custom-text-field) (element #3) is filled with the value "AIR" when the [Button](/v1/docs/en/fre-button-vo), for which it was configured, is clicked. If this is the case (i.e. **on "true"**), an alert is displayed, by configuration not to be presented in detail here. | ![images/download/attachments/189435639/image-2024-10-22_11-46-8-version-1-modificationdate-1729590368135-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2024-10-22_11-46-8-version-1-modificationdate-1729590368135-api-v2.png) | Details (from top to bottom): - Via the symbols ![images/s/-95e2zf/9012/8yg2g7/_/images/icons/emoticons/add.svg](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/add(7).svg) and ![images/s/-95e2zf/9012/8yg2g7/_/images/icons/emoticons/forbidden.svg](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/forbidden(3).svg), a new behavior can be added or an existing one removed. --- - From the header line, the grey frame covers the entire behavior in its expanded state. The **Name** is set below in the **Behavior name** field. On one hand, it is used to identify the behavior, especially in the collapsed state, but on the other, it also serves as a reference to the behavior in certain cases (e.g. by the [Logical condition](/v1/docs/en/frebehav-logical-check) behavior type or the action [Execute behavior](/v1/docs/en/freaction-execute-behaviour)). **NOTE:** If multiple behaviors are configured for the same form element, they can be re-sorted in the header using drag & drop. Shortcuts can also be used to completely copy (Ctrl+C), cut (Ctrl+X) and paste (Ctrl+V) selected behaviors. A copy can also be created by using drag & drop while holding down the Ctrl key. --- - The **Triggering event** field defines [Events (Form designer)](/v1/docs/en/fretrigger) for the behavior via multiple selection. The choices depend on the type of the parent form element, also called the executing element of the behavior. In the example, clicking the button serves as a trigger. The **Triggering event** field can also be left empty if a behavior is to be invoked exclusively by other logics, such as the [Logical condition](/v1/docs/en/frebehav-logical-check) behavior or the action [Execute behavior](/v1/docs/en/freaction-execute-behaviour). --- - In the **Execute later once (ms)** field, an optional time delay can be entered as an integer number of milliseconds (ms), to define a so-called "debounce" for the execution of the behavior. Each time one of the [Events (Form designer)](/v1/docs/en/fretrigger) of the behavior is activated, a timer with the specified delay time is started. Processing of the **Behavior** therefore only starts if no further triggering takes place before this timer expires. A typical application for this technique is the joint evaluation of keyboard entries for a text field, where the string entered is often only to be processed if no further characters or keystrokes follow within the delay time (see Trigger [Changed](/v1/docs/en/fretrigger-changed)). - **Wait for later execution**: If a delay (value > 0) is defined, calling instances are not waiting for the behavior to finish, if the displayed option "Wait for later execution" is deactivated. This affects calling other behaviors via action or loading form data. --- - The **Behavior** section, which can be collapsed, defines the **Behavior type** which is the logical core of the behavior configuration. Often the behavior type has an evaluative or validating character, so that an element must be linked as a reference object unless the behavior type should operate "reflexively", i.e. with reference to the executing element. In the example, the behavior [Filled with](/v1/docs/en/frebehav-filled-with) was selected, which provides information on a compared value (*here*: "AIR") and a link to the reference object of the evaluation (*here:* [Text field](/v1/docs/en/custom-custom-text-field) "Freight type" aka. element #3). The link to a form element is initiated by clicking on the chain symbol, if no link exists. Then the target element must be clicked on directly or in the tree structure of the form editor to establish the link. An existing link is removed by clicking on the corresponding chain symbol. --- - The sections **Actions on "true"** and **Actions on "false"** define an optional list of [Actions](/v1/docs/en/freactions) for the respective evaluation results of the behavior. At runtime, precisely one of these lists is always processed sequentially, as long as an error does not cause processing to be terminated. **NOTE:** Already configured actions can be moved in and *between* these lists via drag & drop and copied (**Ctrl+C**), cut (**Ctrl+X**) and pasted (**Ctrl+V**) via shortcuts. Copying actions are also possible by drag & drop while holding down the **Ctrl** key. | | --- | --- | ## Available behavior types The following behavior types can be selected for behaviors – partly depending on the installation of certain modules: - [Selected item of grid](/v1/docs/en/frebehav-grid-selected-item) - [Selected items of grid](/v1/docs/en/frebehav-grid-selected-items) - [Barcode reader](/v1/docs/en/doc-read-barcode-actor) - [User confirmation](/v1/docs/en/frebehav-user-confirm) - [User prompt](/v1/docs/en/frebehav-user-prompt) - [Calculate](/v1/docs/en/frebehav-calculate) - [Rotate image](/v1/docs/en/frebehav-rotate-image) - [Crop image (user)](/v1/docs/en/frebehav-user-crop-image) - [Client Workflow](/v1/docs/en/frebehav-client-workflow) - [Load file](/v1/docs/en/frebehav-select-file) - [Dispatch custom action event (Form designer)](/v1/docs/en/frebehav-dispatch-custom-action-event) - [Validate element](/v1/docs/en/frebehav-validate) - [Validate element and call profile](/v1/docs/en/frebehav-validate-call-profile) - [Formular schreibgeschützt (Verhalten)](/v1/docs/en/frebehav-is-form-readonly) - [Has permission](/v1/docs/en/core-has-permission-rule) - [Free component behavior](/v1/docs/en/frebehav-freecomponent-behaviour) - [Dangerous Good: Select](/v1/docs/en/frebehav-select-dangerous-goods) - [Dangerous goods: is liquid](/v1/docs/en/frebehav-dangerous-goods-liquid) - [Dangerous Goods: is N.O.S.](/v1/docs/en/frebehav-dangerous-goods-nos) - [Dangerous goods: is N.A.G. label](/v1/docs/en/frebehav-dangerous-goods-nos-flag) - [Filled](/v1/docs/en/frebehav-filled) - [Filled with](/v1/docs/en/frebehav-filled-with) - [Get geolocation](/v1/docs/en/frebehav-get-geolocation) - [Get service items](/v1/docs/en/frebehav-getprovideritems) - [Get view name](/v1/docs/en/frebehav-get-view-name) - [Contained in service items](/v1/docs/en/frebehav-is-in-provideritems) - [Is editor test mode](/v1/docs/en/frebehav-is-test-mode) - [Is new entity](/v1/docs/en/frebehav-is-new-entity-behaviour) - [Is visible](/v1/docs/en/frebehav-is-visible-behaviour) - [Get calendar](/v1/docs/en/frebehav-get-calendar) - [Load web resource](/v1/docs/en/frebehav-load-web-resource) - [Lese URL-Variable](/v1/docs/en/frebehav-get-url-var) - [Logical condition](/v1/docs/en/frebehav-logical-check) - [Local REST call](/v1/docs/en/frebehav-local-rest-call) - [Call profile](/v1/docs/en/frebehav-call-profile) - [Check flag](/v1/docs/en/frebehav-check-flag) - [Regular expression](/v1/docs/en/frebehav-reg-exp) - [Screenshot](/v1/docs/en/frebehav-screenshot) - [Static](/v1/docs/en/frebehav-static) - [Search (Form designer)](/v1/docs/en/frebehav-search) - [Tuple search (Form designer)](/v1/docs/en/frebehav-tuple-search) - [Check type](/v1/docs/en/core-check-type-rule) - [Compare with (Form designer)](/v1/docs/en/frebehav-compare-with) - [Chained behavior](/v1/docs/en/frebehav-chained-behaviour) - [Select from overview](/v1/docs/en/frebehav-select-from-overview) - [Numeric range](/v1/docs/en/frebehav-check-numeric-range) - [Association criterion matched](/v1/docs/en/frebehav-association-criteria-matched)