HOME

Tuesday, October 25, 2016

WML PROGRAM SHOWING EXAMPLE OF TAG

<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="one">
<p>
Username:<input type="text" name="use"/>

Password:<input type="password" name="pwd"/>
</p>
<do type="accept" label="login">
<go href="#two"/>
<setvar name="use" value="$(use)"/>
<setvar name="pwd" value="$(pwd)"/>
</do>
</card>
<card id="two">
<p>
hello $(use)
Your password is $(pwd)
</p>

<p>
   <anchor>
        <prev>back
           <setvar name="pwd" value=""/>
        </prev>
   </anchor>
</p>

</card>
</wml>

No comments:

Post a Comment