<items>

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).

 

ATTRIBUTES <items>: (none)

CHILD TAGS <items>:

item

Defines an item in the list

ATTRIBUTES <item>:

selected

If true then XMod will attempt to pre-select the item when first loading the form. (Optional) [true or false]
If the value is
false or if the attribute is not specified, XMod will not attempt to pre-select the item. Multiple items may be pre-selected using this attribute assuming the containing control allows multiple selections (i.e. <select> but not <select1>. (new to version 1.2)

CHILD TAGS <item>:

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.

EXAMPLE

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