Home | History | Annotate | Download | only in 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 id="card1" title="Select Test">
      5         <p>Test for select element in WML</p>
      6         <p>You can select one or more options, and then click 'Answer', the second card will tell you what you selected</p>
      7         <p>
      8             <select name="cars" title="SELECT" multiple="true">
      9                 <option value="volvo" >Volvo</option>
     10                 <option value="fiat">Fiat</option>
     11                 <option value="saab">Saab</option>
     12                 <option value="audi">Audi</option>
     13             </select>
     14         </p>
     15 
     16         <do type="accept" label="Answer">
     17             <go href="#card2"/>
     18         </do>
     19     </card>
     20 
     21     <card id="card2" title="Answer">
     22         <p>You selected: $(cars)</p>
     23     </card>
     24 </wml>
     25