Repeat Group#
A Repeat Group is an element that repeats a set of other UI elements. A repeat group can be in one of two modes:
- User Repeat Mode
- Flow Repeat Mode
Settings:
- Required: If checked the User cannot complete the UI without at least one repetition
- Show label: If checked the element label will not be shown above the group but only as placeholder
- Buttons Position: Controls where the add/remove buttons are placed (Bottom or Right)
- Display Style: Controls the visual layout of the repetitions (Style 1 or Style 2)
- Default repetitions (User Repeat Mode): Number of repetitions shown by default
- Min repetitions (User Repeat Mode): Minimum number of repetitions allowed
- Max repetitions (User Repeat Mode): Maximum number of repetitions allowed
User Repeat Mode#
In the User Repeat Mode, the user of a UI controls how many repetitions of a set of UI elements there should be. For this, the user can use a (+) or (-) button to add or remove repetitions.
Flow Repeat Mode#
In the Flow Repeat Mode, the number of repetitions of a set of UI elements is determined by the Flow. In this case, a Table variable needs to be set as the default for the repeat group. The number of rows of the table determines the number of repetitions. The columns of the table can be used to set certain properties of the UI elements for each repetition. For this, the column titles need to be formatted like this:
{MyFieldRef}.Labelto set the label of an element in the repetition{MyFieldRef}.Valueto set the value of an element in the repetition
Note that {MyFieldRef} is a placeholder here for the reference value that is specified for an element in the UI Designer.
See UI Designer