Topics Map > ATLAS Applications > ATLAS Formbuilder
ATLAS FormBuilder - Introduction to Conditional Statements
In multiple locations across FormBuilder, settings provide the ability to create conditional statements, which are used to specify when certain form functions trigger or how they operate, based on a customizable set of conditions.
Conditional statements operate on boolean logic, meaning that they read data from the form, compare that data to their condition(s), and then evaluate it as either "true" or "false." If the statement evaluates as true, the related form setting will trigger in relation to the read data.
The areas of FormBuilder where settings involving conditional statements can be found are:
-
Routing triggers
-
The "Trigger Condition" field of each routing trigger's editing menu comes in the form of a conditional statement, which is used to determine when the routing trigger should execute its routing actions.
-
-
Phase permissions
- Checking the "This permission only applies to forms with the following properties" checkbox in the editing menu of a phase permission causes the appearance of a conditional statement entry field, whose condition(s) must be met for the permission to be granted to its listed users.
- Checking the "This permission only applies to forms with the following properties" checkbox in the editing menu of a phase permission causes the appearance of a conditional statement entry field, whose condition(s) must be met for the permission to be granted to its listed users.
-
Aggregate form views
-
Checking the "Additional Filtering" checkbox in the "Filter Responses By" section of an aggregate form view's edit page will cause the appearance of a conditional statement entry field, which will filter the aggregate view down to only include responses that meet its condition(s).
-
-
Reports
-
When running a report of any type from a form's "Export Data" page, an optional checkbox called "Additional Filtering" will be provided. Checking this checkbox causes the appearance of a conditional statement entry field, which will filter the report down to only include responses that meet its condition(s).
-
Conditional statement fields provide a dropdown list that includes a wide variety of condition types and related options to choose from. Each condition type provides at least one additional field when selected, the customization of which allows the selection of the specific condition needed. For information on the full list of options provided by a conditional statement field, visit ATLAS FormBuilder - Trigger Conditions Explained.
While only one condition can be selected by default, a conditional statement field's dropdown list also includes options known as logical operators, which can be used to chain together more complex conditional statements. For detailed information on logical operators, visit ATLAS FormBuilder - Logical Operators in Conditional Statements.
For more tutorials on the ATLAS FormBuilder application, visit FormBuilder - Homepage.