Reflects the contents of an item.
Visually, this can take several forms, depending on the item to which it applies. For example, the value option in label items contains the label text; the value option in radio items contains a status indicator; and the value option in list items contains the scope identifer (sid) of the most recently selected cell (if it was a select cell).
An item's contents will be stored in the form whenever a user saves the form or submits it for processing. This is true even for inactive items and items using the default value option setting (in this case, a value option containing the default setting is added to the item's definition).
<value>setting</value>
Parameter | Type | Description |
---|---|---|
setting | string | The item's contents |
button, cell, check, checkgroup, combobox, field, help, label, list, popup, radio, radiogroup, richtext, slider
This sample identifies the text of a label item.
<value>My Form Title</value>
<value>This value spans
two lines.</value>
page_tag.list_tag.value->value
For example:
page1.countryPopup.value->value
When a user selects a cell from a list, the scope identifer (sid) of the cell is stored as the value of the list. Hence the dereference syntax.