There are multiple ways you can tackle this
Try something like this:
if ($q->param('submit1') eq 'submit1') { $index="Some val"; print "DEBUG after 1st submit " . $index . "<br>"; print $q->hidden('index', $index); print $q->submit(-name=>"submit2", -label=>"submit2") . " ", }
Later in the script, you can then 'recover' the value with $q->param('index')
In reply to Re: Cascading CGI forms
by b10m
in thread Cascading CGI forms
by cmic
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |