--- title: "Validate element and call profile" slug: "frebehav-validate-call-profile" updated: 2026-05-04T07:46:53Z published: 2026-05-04T07:46:53Z canonical: "docs.lobstersoftware.com/frebehav-validate-call-profile" --- > ## 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. # Validate element and call profile > [!NOTE] > The **Behavior type** [Validate element and call profile](/v1/docs/en/frebehav-validate-call-profile) combines the behavior types [Validate element](/v1/docs/en/frebehav-validate) and [Call profile](/v1/docs/en/frebehav-call-profile) as well as their configuration options (follow links for details). The **Behavior type** [Validate element and call profile](/v1/docs/en/frebehav-validate-call-profile) combines the behavior types [Validate element](/v1/docs/en/frebehav-validate) and [Call profile](/v1/docs/en/frebehav-call-profile) as well as their configuration options (follow links for details). ![images/download/attachments/177914233/image-2024-9-26_15-25-43-version-1-modificationdate-1727357142546-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2024-9-26_15-25-43-version-1-modificationdate-1727357142546-api-v2.png) The **Behavior type** implicitly executes the two behaviors ([Validate element](/v1/docs/en/frebehav-validate) and [Call profile](/v1/docs/en/frebehav-call-profile)) in sequence according to the following logic: - [Validate element](/v1/docs/en/frebehav-validate) is executed taking into account the linked element: - If no element is linked, the entire form is validated. - If an element is linked, it is validated including all elements that may be contained. - If the validation fails, the **Actions on "false"** are executed without calling a profile and without providing data for the actions. - If a **Validation result variable** is indicated, the calculation function [var (Read form variable)](/v1/docs/en/calc-function-var) can be used to process 'validation hints' collected in the variable with the specified name. - If the validation is successful, the data of the validated element is transferred to the profile identified by the **Profile name** in the format selected as **Encoder** and in conjunction with any specified **Variables**. - If the addressed profile is inactive or does not return any data (e.g. because no response exists or applies), the **Actions on "false"** are executed without providing any data for the actions. - If an error occurs while executing the profile, the **Actions on "false"** are executed with an error object as data. - If the profile returns the text `false` as a fixed value, the **Actions on "false"** are also executed (with this text value). - If the profile is executed without errors and returns data by a response, this data is processed by the selected **Decoder** and provided to the **Actions on "true"**. > [!NOTE] > **NOTE:** > > **Actions on "false"** can be executed either because of validation errors or because of profile errors, so it may be important to distinguish between these two causes in order to provide the user with qualified information. If the parameter **Validation result variable** is used, the specified variable can be checked for being 'empty' for this purpose – e.g. by a calculation expression (involving [ifEmpty](/v1/docs/en/calc-function-if-empty) and [var (Read form variable)](/v1/docs/en/calc-function-var) – which is only the case if the validation was successful. Then, a 'profile error' must have occurred if the **Actions on "false"** are executed.