This functionality is only available for certain module packages.

loop

To iterate consecutively multiple times over Form-UI elements, they are enclosed by the loop element <loop>.

The number of loop passes is determined by the receiver attribute. The value of the receiver attribute has to be a list, e.g. receiver="=List(1,2,3,4,5,6,7,8)". The loop is passed once for each item of the list.

The variable attribute determines the variable. This variable contains the list value of the current loop pass of the list defined by receiver. As for the above example, the value of the variable for the first pass of the loop is 1, for the second loop pass is 2, etc.

Attribute name Usage Attribute values Default value Description
receiver required Formula to the object
variable optional Name of the variable
Allowed sub-elements Quantity
action any
img any
include any
input any
instantiation any
group any
label any
line any
loop any
open any
tab any
table any
td any

A table calculated with 8 loop passes:

A table with 6 columns contains a loop which is passed 8 times. For each loop pass 6 table cells are created, a calculation with the current value of the variable "x" is performed and displayed as an RGB value and as a color.