For form templates where we want to be able to count up the number of items that have been added to a table or repeatable, we can use a calculation to automate this process.


Example scenarios where this could be relevant include:


  • Total number or count of items added E.g. A Pool inspection report that is servicing a number gates located around a pool. The total number of gates added to the report needs to be referred to as part of the report summary.
  • Total number of items based on a variable E.g. An incident report is updated with a list of issues that need to be actioned. The number of outstanding items that haven't been resolved needs to be displayed clearly.


There are different ways that this can be structured within the form template, depending on the desired purpose of the total. Focusing on the above scenarios, we can achieve these by utilising the following options:


Total number or count of items added


  1. In your table or repeatable, add a Dropdown multiple choice field.
  2. Remove all of the default items, and add the number "1" as the only item. 
  3. Make this field invisible (not required, but hiding this field will limit confusion for the end user)
  4. Update the object name of this field for easy reference, for example [itemCount]
  5. Add a calculation field outside of the table or repeatable. This can be placed below the table or in a separate section of the form template. E.g. A Summary section.
  6. In the calculation box, add the object name of the dropdown field (e.g. [itemCount])




Total number of items based on a variable


  1. In your table or repeatable, ensure there is a multiple choice field available that will act as the condition to manage when the count is added. For example, the field "Issue Resolved?" with the answers "Yes" or "No" will be used for this configuration.
  2. Add a number field to the table.
  3. Make this field invisible (not required, but hiding this field will limit confusion for the end user)
  4. Update the object name of this field for easy reference, for example [itemCount]
  5. Selecting the multiple choice field, add an event to set the value in the number field as the following:
    • For the answer we want to count, e.g. "Yes", set the value of the number field to 1 when this is selected
    • For the answer we do not want to count, e.g. "No", set the value of the number field to 0 when this is selected
  6. Add a calculation field outside of the table or repeatable. This can be placed below the table or in a separate section of the form template. E.g. A Summary section.
  7. In the calculation box, add the object name of the number field (e.g. [itemCount]



By adding only the name of the field to the calculation, this will automatically show a total count of all of the instances of this within the form template. If 3 rows or repeats are added when completing the form, then the total count of "3" will appear in the calculation field.


Don't forget to always save or deploy your changes.