Nokia 6210 Developer's Manual page 24

Wap service developer's guide
Hide thumbs Also See for 6210:
Table of Contents

Advertisement

4.4.2 Select elements
Selection list (<select><option>) is an input element that specifies a list of options from which
the user can choose. There are two kinds of selection lists: single choice and multiple choice lists. The
user can select the multiple-choice options, if the multiple attribute is set as TRUE (selected items are
marked with a selection symbol).
The figure below (4-15) shows how the multiple selection element is rendered. When the input item is
selected the list of options appears. List items are marked/unmarked by pressing 'mark/unmark'-soft
button. When the 'done' –soft button is pressed the selections are moved to the input box on the deck.
The user can see the selections on the box. If those strings cannot fit the box, only the first ones are
shown.
Options can be grouped with the <optgroup> element. The group title is essential as it represents
the subgroup items. After selecting a list by pressing the 'list'-soft button, the functionality is similar to
selecting multiple items from the selection list. In Example 4-8 there are two option groups. Item is
selected first from the "Phones"-list (see Figure 4-15) and then from the other list of options;
"Accessories" (see Figure 4-16).
Figure 4-17 Selecting from the group 'Phones' using an optgroup list.
Figure 4-18 Selecting from the group 'Accessories' using an optgroup list.
Example 4-9 Select and optgroup
<wml>
<card id="phones" title="Information Request">
<p align="left">
Send me more information about:
<select name="models" title="Products" multiple="true">
<optgroup title="Phones">
<option value="Nokia 8210">
8210
</option>
<option value="Nokia 7110">
7110
</option>
<option value="Nokia 6110">
6210
24 (29)

Advertisement

Table of Contents
loading

This manual is also suitable for:

6250

Table of Contents