!--a11y-->
You use the
.value attribute together with the .name attribute to construct valid field names.The
.value attribute outputs the value of a field.
To create an input tag for the multiple value field
`repeat with i from 1 to vbcom-kunde.dim`
<input type=text name="vbcom-kunde[`i`]"
value="`vbcom-kunde[i]`">
`end`
This results in the following output:
<input type=text name="vbcom-kunde[1]" value="4711">
<input type=text name="vbcom-kunde[2]" value="8523">
<input type=text name="vbcom-kunde[3]" value="1234">
The sequence of back quotes and quotes can be confusing. Instead, you can use the
.name and .value attributes to write:`repeat with i from 1 to vbcom-kunde.dim`
<input type=text name="`vbcom-kunde[i].name`"
value="`vbcom-kunde[i].value`">
`end`
The output is identical to above:
<input type=text name="vbcom-kunde[1]" value="4711">
<input type=text name="vbcom-kunde[2]" value="8523">
<input type=text name="vbcom-kunde[3]" value="1234">
