Using Conditional Logic in the Template Designer
Purpose
This article explains how to use Conditional Logic in the Template Designer to control when specific fields appear in a report.
Conditional Logic allows you to display a field only when certain conditions are met. This helps create more dynamic templates by showing users only the questions relevant to their answers.
For example, if a report contains a question asking whether there were any witnesses, you can configure a Witness Name field to appear only when the user answers Yes.
Prerequisites
- You must have access to Designer → Templates.
- You must have permission to edit templates.
Instructions
Step 1: Open the Template Designer
- Navigate to Designer → Templates.
- Open the template you want to edit.
- Locate the field you want to configure with Conditional Logic.
Step 2: Open the Field's Advanced Settings
- Select the field you want to configure.
- On the right side of the Designer, locate the Advanced section in the field configuration panel.
- Click + Condition.

Step 3: Configure Your First Condition
After clicking + Condition, you will be able to define the conditions that determine when the field should appear.
- Under Where, select the data field you want to evaluate.
- Select the condition you want to apply. The default condition is Equals.
- Select or enter the value that the field must match.
Example:
To display the Witness Name field only when witnesses were present:
- Where: Were there witnesses?
- Condition: Equals
- Value: Yes
The Witness Name field will now only appear when the answer to the witness question is Yes.
Step 4: Add Additional Conditions (AND)
You can add multiple conditions when a field should only appear if several requirements are met.
- Once your first condition is configured, click the + button.
- A new condition will be added.
- Configure the additional field, condition, and value.
Additional conditions added using the + button are evaluated as AND conditions. This means that all conditions must be met for the field to appear.
Example:
You want a field to appear only when:
- Were there witnesses? Equals Yes
- Was medical assistance required? Equals Yes
Both conditions must be satisfied for the field to appear.
Step 5: Add Alternative Conditions (OR)
You can also add alternative conditions using + Or.
- Click + Or to add an alternative condition.
- Configure the field, condition, and value.
Conditions added using + Or are evaluated as OR conditions. This means that the field can appear if either condition is satisfied.
Example:
You want a field to appear when:
- Incident Category Equals Injury
- OR Incident Category Equals Property Damage
The field will appear if either condition is met.
Important Notes
AND vs. OR Conditions
Understanding the difference between AND and OR is important when configuring Conditional Logic.
- AND (+): All conditions must be met for the field to appear.
- OR (+ Or): At least one of the alternative conditions must be met.
Frequently Asked Questions
Can I use multiple conditions for one field?
Yes. You can add multiple conditions using the + button for AND conditions or + Or for alternative conditions.
What is the difference between AND and OR?
AND requires all configured conditions to be met, while OR requires at least one of the alternative conditions to be met.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article