Skip to content
  • There are no suggestions because the search field is empty.

How to Count the Number of Instances in a Repeating Section

Learn how to count the number of instances in a repeating section in Smarter Drafter Pro.

Counting the number of instances in a Repeating Section can be useful when you need to calculate totals or perform conditional logic based on the number of repeats. This guide explains how to create a field that counts how many times a Repeating Section has been filled out.

Instructions

1. Open the Form Editor

  • Navigate to the form where you want to count the number of instances in a Repeating Section. Click on Forms in the main menu, then select the form to edit.

2. Add a New Section for Counting

  • In the form editor, click on Add Section to create a new section where the count of instances will be displayed.
  • You can choose to hide the section heading by ticking the Hide Heading checkbox if you don’t want the form filler to see this section.

3. Create a Calculation Field

  • Inside the new section, click on Add Field to create a new field.
  • Set the field type to Calculation to enable counting functionality.

4. Configure the Calculation

  • In the field properties panel, click on the Calculation tab.
  • Click Start here to begin building your calculation.

5. Select the Repeat Count Field

  • Choose Fields - Repeatable from the calculation builder.
  • Select RepeatCount to count the number of times the Repeating Section has been filled out.

6. Apply the Calculation Formula

  • After selecting the RepeatCount, the form will automatically calculate the total number of instances entered for the Repeating Section.
  • If needed, you can add additional formulas or logic to modify the result. For example, you could use the count to trigger specific calculations or conditions.

7. Save the Calculation

  • After configuring your calculation, click Save to apply the changes. The field will now display the total number of instances for the Repeating Section when the form is filled out.


Common Issues & Solutions

  • Issue: The count is not updating or showing correctly.
  • Solution: Double-check that you selected RepeatCount from the calculation builder and that the Repeating Section is properly set up with at least one repeat instance.
  • Issue: The count is incorrect.
  • Solution: Verify that the RepeatCount field is pointing to the correct section, and ensure that the form is set to allow multiple repeats.