For the complete documentation index, see llms.txt. This page is also available as Markdown.

Conditions

Use conditions to dynamically show or hide fields based on user input.

Introduction

Conditions can be used in:

If you use the field of current user in a condition, it can only be used for permissions and workflows β€” it will not work in reports, automation and broadcasts. Conditions only work on the last active version of the form.

Field Permissions

A field can be:

  • Visible

  • Editable

  • Required

This setting is done in the field permissions. The YES and NO values are available by default and to these values are added the conditions created.

A condition is a field (or list of fields) with an associated value.

For the condition to be satisfied, all field values must be checked on the field on which the condition was applied.

You can configure different combinations of conditions to allow fields to interact with each other based on one or more results. It is also possible to use another condition to create a new, more complex condition.

Setting up

In your form, click Condition. The following window lists all the conditions of your model.

  • Go to New:

We will address the following elements point by point:

  1. Name your condition to differentiate them.

  2. List of all the fields in your Form.

  3. The selected field (e g. Status - list field) and offers an operator and result value that you must choose.

  4. Possible values returns all the data contained in your list field.

  5. Combination elements are used to link the display based on different result criteria.

  6. Result of your condition in color-coded JavaScript format.

  • Green = Valid syntax.

  • Red = Invalid syntax.

A condition is linked to the elements of your form, however if a change is applied such as a list change or a field deletion, then your conditions that depend on it will be invalidated. Modification or deletion of these is necessary in order to be able to save your form with the new modifications.

Example: In the following example, the condition matches two values from two different lists. During entry, as soon as the result is "Status: Employee", the condition displays the desired field. If the condition is valid, a confirmation message appears. If the result is red, the condition is not correctly written β€” you will not be able to save the form until it is fixed.

Last updated

Was this helpful?