473,379 Members | 1,187 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

WML Form - Retrieving Variables

Hi Guys,
I hope you can help me out with this .... its really urgent !!

I am using PERL as the scripting language and WML as the formatting language as I am working on a WAP application.

I have passed variables froma WML form .... the code is as follows ....

Expand|Select|Wrap|Line Numbers
  1. <?xml version="1.0"?>
  2. <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
  3. "http://www.wapforum.org/DTD/wml_1.1.xml">
  4. <wml>
  5. <template>
  6. <do type="prev" label="Back">
  7. <prev/>
  8. </do>
  9. </template>
  10. <card id="main" title="CodeHelp" newcontext="false">
  11. <do type="accept" label="Add this link">
  12. <go method="post" href="http://localhost/perl/test.pl">
  13. <postfield name="title" value="$title"/>
  14. <postfield name="url" value="$url"/>
  15. <postfield name="desc" value="$desc"/>
  16. </go>
  17. </do>
  18. <p>WML Add link page</p>
  19. <p>
  20. All titles must be
  21. <b>20 characters</b>
  22. or less.
  23. </p>
  24. <p>
  25. <fieldset>Title:
  26. <input type="text" name="title" size="20"
  27. emptyok="false"/>
  28. </fieldset>
  29. </p>
  30. <p>The URL you post
  31. <b>MUST</b>
  32. specify a .wml file in a valid location.</p>
  33. <p>
  34. <fieldset>URL:
  35. <input type="text" name="url" size="100"
  36. emptyok="false"/>
  37. </fieldset>
  38. </p>
  39. <p>Make sure you include in your description all the
  40. searchable keywords people may enter when
  41. looking for your site.</p>
  42. <p>
  43. <fieldset>Description:
  44. <input type="text" name="desc" size="800"
  45. emptyok="true"/>
  46. </fieldset>
  47. </p>
  48. </card>
  49. </wml>
  50.  
Now how can I retrieve the variables title,url and desc in the PERL page test.pl ???

This is the only thing that I am stuck with ... the deadline is around the corner ... I wud really appreciate if some body cud help me out real soon !!
Apr 12 '07 #1
3 1790
KevinADC
4,059 Expert 2GB
maybe:

CGI::Wml
Apr 12 '07 #2
dude ... I dont think I can find anything that will work from that link ... plz elaborate on what I shud see ...
Apr 12 '07 #3
KevinADC
4,059 Expert 2GB
sorry.... dude,

I don't know much about WML. For all I know you can use the standard CGI module to parse data sent via forms in WML applications. Search around on CPAN for more WML modules or try using the standard CGI module.
Apr 12 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: lawrence | last post by:
I've the form you see below, which is supposed to upload an image. I expect the image name as a var to be $uploadedFile. In the receiving function, I've this code: global $uploadedFile,...
6
by: GoCMS | last post by:
Hi, guys: I am trying debug other people(who has left company)'s ASP code, and had difficulty understanding the use of a hidden asp page. The application has an index page, like MyIndex.asp...
2
by: George | last post by:
VS.NET 2002/VB Is it possible to retrieve HTML form variables that are hidden input types using Request.QueryString() and/or Request.Form()? I have tried various ways of using those, but to no...
7
by: Mark Waser | last post by:
Hi all, I'm trying to post multipart/form-data to a web page but seem to have run into a wall. I'm familiar with RFC 1867 and have done this before (with AOLServer and Tcl) but just can't seem...
2
by: TD | last post by:
I've read several posts here that say global variables are reset whenever an unhandled error occurs. I want to use a custom form property instead of a global variable to store a boolean value. My...
4
by: just.an.imbecile | last post by:
I have searched alot for this and cannot find an answer. I have a simple form, and when it submits, I have it posting the data. I have a simple function to loop through and print out all my form...
10
by: Girish | last post by:
Hi Everyone, I am passing a form to a php script for further processing. I am able to retrieve the last value set for that given form variable using $variable=$_REQUEST;
6
by: ReubenPatterson | last post by:
Hi, this is my first attempt to create variables to assign a value, so thanks for any suggestions. I have a field in a form I'd like to match a substring of to another table and insert. The...
0
bmallett
by: bmallett | last post by:
First off, i would like to thank everyone for any and all help with this. That being said, I am having a problem retrieving/posting my dynamic form data. I have a form that has multiple options...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.