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>

Parent Topic The vdl-repeat attribute

© 2001-2026 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.