Nokia SERIES 30 Developer's Manual page 22

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

Advertisement

user can view the value between brackets in full by pressing the # key. Until the # key is
released, the content that can fit on the screen is viewed. The soft keys are hidden while the
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 of the
optgroup element. An optgroup element can be used in single selection lists as well as
multiple selection lists. Only in multiple selection lists it is possible to have option groups that
allow multiple selections.
<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 7650">
7650
</option>
<option value="Nokia 9210">
9210
</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>
</select>
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">
<prev/>
</do>
</card>
</wml>
Example 8: Select and optgroup
WAP Service Developer's Guide for Nokia Series 30 Phones with WML Browser
Forum.Nokia.com
22

Advertisement

Table of Contents
loading

Table of Contents