
WML Tags and Attributes
Issue 1 April 2005 167
When a given character is selected, that character is immediately replaced with an asterisk. For
example, the user takes an action that moves the cursor to the right of the current character,
such as pressing a different dial pad key or pressing an arrow softkey. If the user returns to that
character, it continues being displayed as an asterisk.
Only the correct size, type, and number of characters are accepted in to the input box. For
example, if alpha text is specified and the user types in a symbol or numeric text, the user input
will not be accepted. If the user enters the wrong kind of text, an error beep sounds. If the “n”
(number) value is specified and the user enters an incorrect number of characters, that input is
not accepted. The user cannot exit the field if this invalid character exists. The Top Line will
displays the error message: “Invalid character. Please check and try again.”
Only use the attribute type password when it is important not to display the user' s password
on the screen. Asterisks display instead. It is also important that the password not be cached.
The phrase [Enter text here] appears for all input tags if the value attribute is null. If the
author specifies a non-null content in the value attribute, that content displays between
brackets for that input tag.
Only the correct size, type, and number of characters are accepted in to the input box. For
example, if alpha text is specified and the user types in a symbol or numeric text, the user input
is not accepted. The screen repaints and the user has to re-enter the text. If the wrong kind of
text is typed, the user receives an error tone. If the “n” (number) value is specified and the user
types in the incorrect number of characters, that input is rejected.
See Text Elements
for other text entry guidelines.
● <fieldset> tag - The fieldset tag is used to group logically related elements in a card. This
tag is not supported.
● <optgroup> tag - Sets of <optgroup> brackets can be put around <options> in a <select>
list. The results in breaking a list into sublists.
● <option> tag - A set of option tags is needed to specify each individual item in a list. This
tag must be used with the select tag.
Attribute Value Description Comments
title cdata Sets a title for the optgroup element. SUPPORTED.
Attribute Value Description Comments
onpick url Sets what is going to happen when a
user selects an item.
SUPPORTED.
title cdata Sets a title for the option. SUPPORTED.
value cdata Sets the value to use when setting the
“name” variable in the select element.
SUPPORTED.
Komentáře k této Příručce