Initializing help system before first use

To Repeat a Form for each Scenario

You can create a form for each scenario on the shelf.

  1. In the Palette > Components group, click and drag the Form element onto the artboard.
  2. Select the Form element on the artboard. In the Attributes pane:
    • Set Repeat to "=s,i in scenarios"
  3. In the Palette > Components group, click and drag the Field element onto the Form.
  4. Select the Form Field element on the Form. In the Attributes pane:
    • Set Data > Entity to the element that will store the data ("MY_INTEGER")
    • Set Scenario to "=i"
The example shows two added fields which reference different DATA > Entity locations.
<vdl-form vdl-repeat="=s,i in scenarios">
    <vdl-field entity="MY_INTEGER" scenario="=i"></vdl-field>
    <vdl-field entity="MY_STRING" scenario="=i"></vdl-field>
</vdl-form>