Defines a list of mutually exclusive choices, that is, you can pick only one item. You can render the list of choices using either radiobuttons or using a
combobox. A combobox is a combination of a text input box and a drop-down list of choices. The user can type a selection or pick one from
the drop-down list.
Attributes
-
map=id
, optional
- The data source to fill up your combobox or to create a list of radio buttons.
Note, that your user will see the map entry value, but your code will get the map entry key.
Note, that you can either specify
map
or list
, but not both at the same time.
-
list=id
, optional
- The data source to fill up your combobox or to create a list of radio buttons.
-
type=radio
, optional
- Use a list of radio buttons instead of the default combobox.
Appears In
boxes
Examples
<choice id="STORETYPE_INPUT" map="STORETYPE" />
<choice id="KIND_INPUT" list="ICON_KIND" type="radio"/>