Fwd: Re: How to ck for null set w/ Checkboxes

2001-09-25 Thread Teresa Raymond
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

Re: How to ck for null set w/ Checkboxes

2001-09-25 Thread Teresa Raymond
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

Re: How to ck for null set w/ Checkboxes

2001-09-25 Thread Roger C Haslock
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 to ck for null set w/ Checkboxes

2001-09-24 Thread Teresa Raymond
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