How does the logic for conditions work?

Conditions let you control the states of your form elements on the fly. You define rules that specify when a certain state (e.g. ‘Required field’ or ‘Visible’) is activated. Knowing how condition logic works is essential to ensure that your form works as you want it to.

State pairs

Each form element is always found in one state of each of the following four pairs of opposing states:

You can use a condition to change these states. The following rule also applies: if the condition is not met, then the original (opposite) state remains in place.

Example 1: Required field for phone support

Two form extracts can be seen. Both ask whether a telephone consultation is desired. Nothing is ticked in one form. Entering a telephone number is optional. In the other form, yes is selected. Here the input field for the telephone number is a mandatory field.

Example 2: Showing a piece of information

Two forms with a seminar selection are displayed. On one form, a seminar is selected and information text is displayed below it.

Example 3: Required fields with checkbox control – ‘indirect’ condition

Two forms can be seen. One form contains input fields for the billing address. At the bottom there is a ticked checkbox to confirm that the delivery address is identical to the billing address. On the other form, the box is unchecked. Input fields for entering a delivery address are also displayed here.

Feedback