CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
How to pass a variable to the next form

 



datlaravi
Deleted

Jun 19, 2000, 9:45 AM

Post #1 of 3 (459 views)
How to pass a variable to the next form Can't Post

Hi,
I am getting a textbox value from an entry form to the form i am using with $value = $query->param('nameofbox');
I want to pass this further to the next form.
Please help me how to access this variable in
the next forms?
Thanks


monocle
User

Jun 18, 2000, 10:07 PM

Post #2 of 3 (459 views)
Re: How to pass a variable to the next form [In reply to] Can't Post

Assuming your script will output the further forms to the browser, you need only use the $value variable as the value of your form component like so:
<INPUT TYPE="text" NAME="anotherbox" VALUE="$value">
-- or --
<INPUT TYPE="hidden" NAME="hiddenvalue" VALUE="$value">

Hope this helps.

Monocle
Hear great techno by Monocle at http:/www.mp3.com/monocle . CD now on sale!


datlaravi
Deleted

Jun 18, 2000, 10:30 PM

Post #3 of 3 (459 views)
Re: How to pass a variable to the next form [In reply to] Can't Post

Thanks a lot.
It is working

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives