Skip to main content

Rule: If-then-else

To condition the behavior of a control, use the If-Then-Else rule.

The If-Then-Else rule consists of:

  1. the condition(s) to check (the If statement)

  2. what happens if the condition is true (the Then statement)

  3. what happens if the condition is false (the Else statement)

    docs image

The if statement

Use the Expression editor to define a condition query.

You can compare two values, or group multiple comparisons by using the And or Or operators.

The Then/Else statements

You can insert any other rule in the Then and Else statements.