Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Passing data a from URL into a form???

by screamingeagle (Curate)
on Feb 28, 2002 at 03:55 UTC ( #148130=note: print w/ replies, xml ) Need Help??


in reply to Passing data a from URL into a form???

if what u need to know is how to prepolulate a form with data which is being passed to it , use the CGI module's param method; to use your example

#!/usr/bin/perl use strict; use CGI qw(cgi); my $cgi = new CGI; print "<html><body><form>\n<input type=text name=car value=" . $cgi->p +aram('enter'); . "></form></body>"
this will display the value of the 'enter' parameter (i.e. car) in the html form hth...


Comment on Re: Passing data a from URL into a form???
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://148130]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2014-09-18 15:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (116 votes), past polls