[thelist] WML and Forms

Niklaus Haldimann runciter at rosa.com
Tue Apr 17 08:57:56 CDT 2001


Hi list

I'm taking my first serious steps at WAP/WML. So far everything works
quite smooth. But now I'm trying to set up a "form" in WML and it just
won't work. My form (a simple login) looks like this:

<p>
 passwort:<br/>
 <input type="password" name="pass"/>
</p>
<p>
 <anchor>
  OK
  <go href="admin.pl" method="post">
   <postfield name="pwd" value="$(pass)"/>
  </go>
 </anchor>
</p>

This displays fine on the wapjag virtual wap device (wapjag.com) as well
as on my Siemens SL45 cell phone (I will be testing on other devices
later in the development process). But somehow the value entered in the
password field isn't posted to the perl script (admin.pl). What am I
doing wrong?

I have found these WML resources to be valuable:
http://www.devguru.com/Technologies/wml/quickref/wml_index.html
http://www.w3schools.com/wap/wml_reference.asp
But they don't seem to cover forms too well. Any other good resources
out there?

Thanks for your help.

--
Niklaus Haldimann
Frontend Engineer
R.Ø.S.A. Internet Concept and Creation
http://www.rosa.com




More information about the thelist mailing list