Nokia SERIES 40 Cell Phone User Manual


 
WAP Service Developer's Guide for Nokia Series 40
Version 1.0
Copyright © 2002. Nokia Corporation. All rights reserved.
22
content is viewed in full. The layout in full view is the same as the one selected by
the user for browsing.
The <option> element specifies a single choice option in a select element.
Options can be grouped with an <optgroup> element, which specifies a group of
choice items in a select element. An <optgroup> element is displayed with an
icon in front of the title. An <optgroup> element can be used in single selection
lists as well as in multiple selection lists. Only in multiple selection lists is it possible
to have option groups that allow multiple selections.
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 8310">
8310
</option>
<option value="Nokia 5510">
5510
</option>
<option value="Nokia 6310">
6310
</option>
</optgroup>
<optgroup title="Accessories">
<option value="Battery">
Battery
</option>
<option value="Desktop stand">
Desktop stand
</option>
<option value="Charger">
Charger
</option>
<option value="Headset">
Headset
</option>
</optgroup>
</ >
Please, provide your
<br/>
Name:
<input name="name" type="text" title="Name"
emptyok="false"/>
</p>
<do type="accept" label="Confirm" optional="false">
<go href="#confirm" method="get" sendreferer="false"/>
</do>
<do type="prev" optional="false">