Properties of Repeatable Sections

There are four repeatable sections properties that can be accessed through calculations. As with other properties, the repeatable section properties are accessed through a calculation within a number field. 

  • For more information on number fields, click here.
  • For an overview of calculations, including how to set up a number field to perform a calculation, click here.

These calculations can be performed using a number field either inside the repeatable section or in any subsequent section (repeatable or otherwise).

The four repeatable section properties available are:

In the examples that follow, @123 will be used as a generic field reference code for a field within a repeatable section.

@123.Repeat

  1. Returns the repetition number of a given field in a repeatable section.
  2. Values returned are in the range from 1 to RepeatCount.
  3. Values increase by 1 (starting at 1) each subsequent repetition.

@123.RepeatCount

  1. Returns the total number of repetitions in the repeatable section.
  2. This updates as the smart online form is answered as repetitions are added and removed.
  3. Fields in all repetitions will return the same value.

 

@123.MinRepeats

  1. Returns the minimum number of repetitions specified in a repeatable section’s properties in the form builder (i.e. "Minimum Number Of Repetitions" below).
  2. Fields in all repetitions will return the same value.

@123.MaxRepeats

  1. Returns the maximum number of repetitions specified in a repeatable section’s properties in the form builder (i.e. "Maximum Number Of Repetitions" below).
  2. Fields in all repetitions will return the same value.