wai_select
Last updated
Last updated
Required attributes:
id unique identification of the item (unique in the whole form).
type item type: 'wai_select'.
label label displayed next to the item.
Optional attributes:
help any text that should help to understand what value is required. It is displayed on the right of the item.
must set 'Y' when the value is required, 'N' otherwise.
default the default value of the item. It is used by default unless it is explicitly set by PRX rules.
disabledset 'N' if the field can't be edited. Set 'Y' if a modification is allowed.
options when this attribute is missing or empty the program tries to load options (values displayed in the select box) from the database. Items are loaded from FORMCONT database Table. See for more details. The items can also be specified in XML, which is preferred method when the values are constant and do not change often. Enter options separated with a semicolon and each one in Label=Value format. The Label is displayed while the Value is used. In the following example 'Yes' and 'No' is visible on the web page but 'Y' or 'N' is exported to HOSXIN dataset and stored in the database. The number of values entered in XML is unlimited. options="Yes=Y;No=N"