d I believe to be correct, is that, if a CGI param has not
>>been given a value, its name will not appear in $q->param(). You therefore
>>need a local list of CGI param names in order to check whether they are
>>expected, but have not been given a value.
>>
>>Regards
>>- Roger
local list of CGI param names in order to check whether they are
>expected, but have not been given a value.
>
>Regards
>- Roger -
>
>- Original Message -
>From: "Teresa Raymond" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Tuesday, Septem
her they are
expected, but have not been given a value.
Regards
- Roger -
- Original Message -
From: "Teresa Raymond" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 25, 2001 2:02 PM
Subject: How to ck for null set w/ Checkboxes
> How do y
How do you check for the null set or blank with checkboxes using
CGI.pm? The following code does not work for checkboxes though it
does for all other input fields.
#TEST FOR BAD CHARS
my ($name, $value);
foreach $name ($q->param())
{foreach $value ($q->param( $name ))
{#CK FOR BLANKS
if