
WML Tags and Attributes
Issue 1 April 2005 117
● <select> tag - The select tag allows for the definition of a list, embedded in a card. This tag
allows the user to choose inputs from a list rather than having to type a value. The select
tag must be used with the option tag.
A single select is rendered with a small square containing a dot. A multiple select is rendered as
multiple squares - blank if there is nothing in them, else a lowercase “x”.
Variable Elements
● <setvar> tag - There are no visual rendering implications with this tag.
Attribute Value Description Comments
name nmtoken Names the variable that is set
with the index result of the
selection.
SUPPORTED.
ivalue cdata Sets the pre-selected option
element. If none is specified, the
first item in a list is automatically
selected.
SUPPORTED.
multiple true
false
Sets whether multiple items can
be selected. Default is “false”.
False is used for a single
selection.
SUPPORTED.
tabindex number Sets the tabbing position for the
select element.
NOT
SUPPORTED.
title cdata Sets a title for the list. SUPPORTED.
value cdata Sets the default value of the
variable in the name attribute.
SUPPORTED.
Attribute Value Description Comments
name cdata REQUIRED. Sets the name of
the variable.
SUPPORTED.
value cdata REQUIRED. Sets the value of
the variable.
SUPPORTED.
Komentarze do niniejszej Instrukcji