clearing FROM on WML

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    clearing FROM on WML

    what is the code in clearing form in wml? please help me..

    i planning to set a link naming.. CLEAR TEXT.

    and after you click the CLEAR TEXT it will redirect on the page it self.. and it will clear the form.. above the link..


    help me.thx

    #2
    This tag is for XHTML:
    <input type="reset" value="CLEAR TEXT"/>

    WML:
    HTML Code:
    <?xml version="1.0"?>
    <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml13.dtd">
    
    <wml>
      <card id="card1" title="WML Form">
        <p>
          User name:<br/>
          <input name="myUserName"/><br/>
    
          Password:<br/>
          <input name="myPassword" type="password"/><br/><br/>
    
          <anchor>
            <go method="get" href="resetButtonsProc.asp">
              <postfield name="name" value="$(myUserName)"/>
              <postfield name="password" value="$(myPassword)"/>
            </go>
            Submit Data
          </anchor><br/>
    
          <anchor>
            <refresh>
              <setvar name="myUserName" value=""/>
              <setvar name="myPassword" value=""/>
            </refresh>
            Reset Form
          </anchor>
        </p>
      </card>
    </wml>
    From: WML Tutorial: Reset Buttons in HTML and WML
    Last edited by arnage; 02.12.10, 12:53.
    <!DOCTYPE html PUBLIC "-//WAPFORUM.RS

    Comment

    Working...
    X