tanger has asked for the wisdom of the Perl Monks concerning the following question:
our @io = $INPUT->param('io'); if (@io) { #this field is not a required field foreach $io (@io) { if ($io =~ /^([0-9,]+)$/ && length($io) < 2) { $io = $1; } else { print "Do not alter this form. Objective field. Your IP has b +een logged and will be further investigated."; die; } } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: form checking checkboxes
by jeffa (Bishop) on May 31, 2005 at 19:56 UTC | |
by thundergnat (Deacon) on May 31, 2005 at 20:18 UTC | |
by ikegami (Patriarch) on May 31, 2005 at 20:17 UTC | |
|
Re: form checking checkboxes
by cees (Curate) on May 31, 2005 at 21:08 UTC |