Branching logic
Branching logic is also known as conditional display logic.
You can decide to show or hide specific questions based on the results of previous questions, including the results of calculated questions. Here, we are going to show a participant a warning about their BMI if it is over a certain value.
Create a BMI Warning
Activity
- Click
Add Field
- Choose
Descriptive Text
(with optional Image/Video) for theField Type
.- In the
Field
Label, type the following:Based on the information you've provided, your BMI (body mass index) is in a range associated > with increased risk of cardiovascular diseases and diabetes.
- In the
Variable Name
, type bmi_warning.- Click
Save
.- Click the
Branching Logic Button
( ).- Select the
Drag-N-Drop Logic Builder
.- Drag bmi = (define criteria) to the right column.
- Select greater than (
>
) and type 30 in the value field.- Note that the equation
[bmi] > 30
also appears in the Advanced Branching Logic Syntax section above.