Show TOC

.valueLocate this document in the navigation structure

Use

You use the .value attribute together with the .name attribute to construct valid field names.

The .value attribute outputs the value of a field.

Example

To create an input tag for the multiple value field vbcom-kunde, you could write

`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">