Home: WAPstacles: Option
One of your WML decks shall contain an option list with several options. The text in each option contains some words.
Some WAP browsers don't wrap the text of an option if this text is too long. Therefore, you should locate the most important information at the beginning of the text.
1
<?xml version="1.0"?>
2 <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML
1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
3 <wml>
4 <card title="User survey">
5 <do type="prev"><prev/></do>
6 <p align="center">Your opinion</p>
7 <p>Do you agree?</p>
8 <p><b>Choose: </b><select
name="q">
9 <option value="1">Well, I would like to answer
with yes</option>
10 <option value="2">Well, I would like to answer with
no</option>
11 </select></p>
12 <p align="center"><a
href="http://webcab.de/cgi-bin/wv.cgi/1?n=1&o=v&q=$(q)">Vote</a></p>
13 </card>
14 </wml>
1
<?xml version="1.0"?>
2 <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML
1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
3 <wml>
4 <card title="User survey">
5 <do type="prev"><prev/></do>
6 <p align="center">Your opinion</p>
7 <p>Do you agree?</p>
8 <p><b>Choose: </b><select
name="q">
9 <option value="1">Yes would be my answer if
you are so kind to ask me</option>
10 <option value="2">No would be my answer if you are
so kind to ask me</option>
11 </select></p>
12 <p align="center"><a
href="http://webcab.de/cgi-bin/wv.cgi/1?n=1&o=v&q=$(q)">Vote</a></p>
13 </card>
14 </wml>