Perl: the Markov chain saw | |
PerlMonks |
Re: (zdog) Re: (3) Maintaining state with CGI.pmby no_slogan (Deacon) |
on May 31, 2001 at 22:18 UTC ( [id://84682]=note: print w/replies, xml ) | Need Help?? |
But that just stores the value "tomato" in the current CGI object, it doesn't pass it to the next CGI form. You can pass stuff along with hidden fields. In the first cgi, print textfield(-name => "foo"); In the second one, print hidden(-name => "foo"); CGI automatically remembers the value of "foo" that was submitted by the first form, and uses it on the second one.
In Section
Seekers of Perl Wisdom
|
|