Logical operator reference
Operators useful for logic on single answers.
Last updated
Operators useful for logic on single answers.
Last updated
A logical operator is bridge that connects two or more expressions to produce a single True or False result.
Please be sure to reference the parent section conditions and logic for use of the following operators.
Currently, the following logical operators are supported:
The answer exactly equals the value.
The referenced answer does NOT equal the value.
Note that this also is true whenever the answer is not defined (has not been collected yet).
The referenced answer is greater than but not equal to the value.
Only available for number-type answers.
The referenced answer is less than but not equal to the value.
Only available for number-type answers.
The referenced answer matches the regular expression pattern.
The referenced answer does not match the regular expression pattern.
The referenced answer was set in the URL, a POST
, or otherwise present when the form was first loaded.
Useful for skipping questions that you provided answers for upfront, and you do not want users to confirm or edit.
The referenced answer has any value set, even false.
This is particularly useful for hiding parts of a step that you don't want to show unless an answer is provided.
The referenced answer has not been set.
The referenced answer is calculated dynamically or loaded from an API, and there was a problem when determining its value.