Formatted Entry Fields | 10 |
In some applications, the data entry queries can provide specialised format fields. These guide the user in entering the required information. For example, if user must enter a credit card number of 16 digits, the entry field can be formatted to accept 16 characters exactly. Other formatting is also possible; for example, the browser can be limited to accept only numeric entries.
Shared Feature Set: Formatted Input
■Create informative titles.
For example, if the field requires a date in a specific format, the field title should indicate what is required (mmyyyy) or “5 digit zip code”.
Example
Openwave Browser
<card id="date" title="Order CD">
<do type="accept" label="OK"> <go href="#confirm"/>
</do>
<do type="prev"> <prev/>
</do>
<p>
Date (mmyyyy):
<input name="exp" title="Date (mmyyyy):" format="NNNNNN"/> </p>
</card>
Example
February 2001 | Genie Application Style Guide 55 |