Initializing help system before first use

To Repeat a Form Field for Each Element in a Set

You can create a form field linked to an array entity per element in a set.

  1. In the Palette > Components group, click and drag the Form element onto the artboard.
  2. In the Palette > Components group, click and drag the Field element onto the Form.
  3. Select the Field element on the Form. In the Attributes pane:
    • Set Data > Entity to the element that will store the data ("MY_ARRAY")
    • Set Label to "='MY_ARRAY(' + index.label + ')'"
    • Set Indicies to "=index.value"
    • Set Repeat to "=index in scenario.entities.MY_SET"
<vdl-form>
    <vdl-field entity="MY_ARRAY" label="='MY_ARRAY(' + index.label + ')'" indices="=index.value"
        vdl-repeat="=index in scenario.entities.MY_SET"></vdl-field>
</vdl-form>