Then value=pair in this case would be checkbox1=on (if checked obviously). I disagree that if not checked your $input{'checkbox1'} would be undefined. That would vary depdending on the query string parsing method. It may be null, but not necessarily undef. This might be a source for errors down the road.<input type="checkbox" name="checkbox1" value="on">
In reply to RE: Re: How to check value of checkbox on form submit?
by BBQ
in thread How to check value of checkbox on form submit?
by mt2k
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |