in reply to Params in CGI
foreach my $cell ('A' .. 'H') { foreach my $i (1 .. 12) { my $name = 'radio' . $cell . $i; print "Param $name missing\n" unless $cgi->param($name); } }
[OT] You have 96 required options on a page, and you may consider to reset the whole form on any error input to make user's life yet more harder
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Params in CGI
by Anonymous Monk on Nov 20, 2008 at 11:38 UTC | |
by ccn (Vicar) on Nov 20, 2008 at 11:45 UTC | |
by Anonymous Monk on Nov 20, 2008 at 14:06 UTC |