This is a child tag - available for list controls (e.g. <select> and <select1>). It is a container tag used to mark a collection of <item> tags. <item> tags, in turn, define an item in the list. Each one contains display text (the <label> tag) and a value (the <value> tag).
item |
Defines an item in the list |
selected |
If true then XMod will attempt to pre-select the item when first loading the form. (Optional) [true or false] |
label |
The text displayed to the user for the list item |
value |
The value of the list item. This is not shown to the user, but is stored with the field for later retrieval and use. |
<select ref="cklFlavors" appearance="full" class="NormalTextBox" required="true">
<label>Flavors: </label>
<items>
<item selected="true">
<label>Vanilla</label>
<value>v</value>
</item>
<item>
<label>Strawberry</label>
<value>s</value>
</item>
<item selected="true">
<label>Chocolate</label>
<value>c</value>
</item>
</items>
</select>