
WML Tags and Attributes
Issue 1 April 2005 165
Input Elements
● <input> tag supported - The input tag specifies a point where the user is prompted to enter
text.
Attribute Value Description Comments
accesskey 1,2,3,4,5,
6,7,8,9,0,
*,#
A keypad key the user can press as a
shortcut to selecting the link by pressing the
primary softkey. If the element is a Radio
button, pressing the access key is a shortcut
for selecting the Radio button. If the element
is a check box, pressing the access key is a
shortcut to check or uncheck the box. If the
element is a Submit or Reset button,
pressing the access key is a shortcut for
pressing that button. For example, pressing
a Submit button’s access key submits the
applicable form.
NOT
SUPPORTED.
name nmtoken REQUIRED. The name of the variable that
is set with the result of the user's input.
SUPPORTED.
emptyok true
false
Sets whether the user can leave the input
field blank or not. The WML default is
“false.”
SUPPORTED.
format
A
a
N
X
x
M
m
*f
nf
Sets the data format for the input field.
Default is “M”
A = uppercase alphabetic or punctuation
characters
a = lowercase alphabetic or punctuation
characters
N = numeric characters
X = uppercase characters
x = lowercase characters
M = all characters
m = all characters
*f = Any number of characters. Replace the f
with one of the letters above to specify what
characters the user can enter.
nf = Replace the n with a number from 1 to 9
to specify the number of characters the user
can enter. Replace the f with one of the
letters above to specify what characters the
user can enter. The user cannot exit the
input box unless the correct number or type
of characters is entered. The user does not
receive an error message if incorrect data is
entered.
SUPPORTED.
1 of 2
Komentáře k této Příručce