in reply to Cascading CGI forms
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')
|
|---|