How to Apply Logic to a Repeating Section
Learn how to apply logic to a repeating section in Smarter Drafter Pro.
You can apply logic to a Repeating Section in your form to customise how the data is processed or displayed based on user input. This guide explains how to apply logic to a Repeating Section, enabling dynamic behaviour for each instance of the repeat.
Instructions
1. Open the Form Editor
- Go to the form where you want to apply logic to a Repeating Section. Click on Forms in the main menu, then select the form to edit.
2. Select the Repeating Section
- In the form editor, click on the Repeating Section where you want to apply logic. This section will have a Repeatable pill in its banner.
3. Go to the Logic Panel
- In the section properties panel, navigate to the Logic tab. This tab allows you to configure rules based on the data entered by form fillers.
4. Apply Conditional Logic
- To apply logic to the Repeating Section, click on Add Condition.
- Choose a condition, such as "Is Equal to," "Is Not Equal to," "Is Answered," etc.
- Select the field within the Repeating Section that you want the logic to apply to. For example, you can apply logic based on the age field for each repeat of a child.
5. Configure the Rule for Each Repeat
- You can set the logic to apply to specific repeat instances:
- 1-5: Apply logic to each individual repeat (e.g., Child 1, Child 2, etc.).
- Any: Apply logic if any repeat meets the condition.
- All: Apply logic only if all repeats meet the condition.
- Repeat: Apply the rule independently for each repeat.
6. Save the Logic
- Once you’ve set the conditions, click Save to apply the logic to the Repeating Section.
Common Issues & Solutions
- Issue: Logic does not trigger as expected in the Repeating Section.
- Solution: Ensure you have selected a reliable field to apply logic to (e.g., a mandatory field) and review your condition to confirm it’s set up correctly.