Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I have an end routine that runs right after this, which in part creates some hidden variables that can be passed on to the next script, and it also produces the end_html code.if ($wantSar){ print $query->h3("Please select the sar options you would like to +anayze or plot for $client:"), $query->start_form(-action => "firedates.cgi", -enctype => "application/x-www-form-urlenco +ded", -method => "post"), $query->p, $query->checkbox_group(-name=>'avmetrics', -values=> [ sort keys %metaAndOptions + ], -labels=> \%metaAndOptions, -columns=> 1), $query->p, $query->submit(-name=>'Continue'), $query->reset(-name=>'Clear'), $query->hr; } else { #They don't want sar options, so bring them to the dates sc +reen print $query->start_form(-action => "firedates.cgi", -enctype => "application/x-www-form-urlenco +ded", -method => "post"); } }
My question is, how do I get the else part to execute and continue along to the next page (after the end routine, of course)
Also, along with a continue and clear button, how do I write a select all button? Does such a creature exist? thanks GR8 11
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: form method in a null form
by sasikumar (Monk) on Jan 19, 2005 at 07:06 UTC | |
by macPerl (Beadle) on Jan 19, 2005 at 10:33 UTC | |
|
Re: form method in a null form
by dorward (Curate) on Jan 19, 2005 at 16:57 UTC |