element specifies information about the deck as a whole, including
metadata and access control information. All WML decks are private by default
you must explicitly define a deck as public for cards or decks outside your
domain to access it.
The element defines deck-level event bindings, i.e. characteristics
that apply to all cards in the deck. You can override these characteristics
for a particular card by specifying the same event bindings within the
element.
text
id - Specifies a name that lets you navigate to the card from other cards
in the same deck.
- Defines the action the phone will perform when the user presses the
function key specified by the type attribute. The label attribute
specifies a label to display for the function key. If you do not
specify this option, the device uses a default label.
- Defines the specific task to perform within the action, in this
case a task that requests a particular URL.
text - Specifies the formatted text displayed on the phone.
As described above, the element lets you associate an action (for
example, going to a particular URL) with a mechanism for invoking it (for
example, pressing the ACCEPT or OPTIONS function key). You can define
multiple statements for a card, each of which assigns a task to a
specific key or user interface mechanism.
In some cases, you may want to assign the same task to a particular key for
every card in a deck. One way to accomplish this is to specify identical
statements within each statement. As shown in the following example,
a more efficient way is to use the element to define behavior that
applies to the entire deck.
As a thumb rule, a WBMP should not be wider than 96 pixels and higher than
48 pixels (at 72 dots per inch).
Component Description
text
The prompt the phone displays to the user.
name
Required. The name of the variable in which to store the text entry.
title
A brief label for the input item (applicable for style="SET" only).
format
A character format specifier for the user entry (see Specifying Text Entry Formats). If you omit this attribute, the UP.Browser lets the user enter characters of any type.
maxlength
The maximum number of characters the user can enter. If you omit this attribute, the UP.Browser imposes a limit of 256 characters.
emptyok
Indicates whether or not the field is optional (default is FALSE). The device always uses the format specifier defined for the field (see above) if the user does enter a value.
The format attribute allows you to specify the type and case of characters the user can enter. You can use a combination of the following special tags:
Tag Description
A
Any symbolic or uppercase alphabetic character (no numbers)
a
Any symbolic or lowercase alphabetic character (no numbers)
N
Any numeric character (no symbols or alphabetic characters)
X
Any symbolic, numeric, or uppercase alphabetic character (not changeable to lowercase)
x
Any symbolic, numeric, or lowercase alphabetic character (not changeable to uppercase)
M
Any symbolic, numeric, or uppercase alphabetic character (changeable to lowercase)--for multiple character input, defaults to uppercase first character
m
Any symbolic, numeric, or lowercase alphabetic character (changeable to uppercase)--for multiple character input, defaults to lowercase first character
For example, specifying format="NAAA" requires the user to enter a number followed by exactly three symbols or uppercase alphabetic characters. In contrast, specifying a single digit number before the character tag limits the number of characters that users can enter without requiring a set number. For example, specifying format="N3A" requires the user to enter a number followed by zero to three symbols or uppercase alphabetic characters.
To let users enter an unlimited number of characters of a particular type, specify an asterisk (*) before the character tag. For example, specifying format="NN*M" requires the user to enter two numbers followed by any number of symbols, numbers, or alphabetic characters.
The M and m format tags set the default capitalization when you precede them with a number or asterisk. The M specifier makes the first letter the user enters uppercase by default; the m specifier makes it lowercase by default. The user can override the default capitalization in both cases.
Social Security Number:
The