laziness, impatience, and hubris | |
PerlMonks |
RE: Re: How to check value of checkbox on form submit?by BBQ (Curate) |
on May 10, 2000 at 19:07 UTC ( [id://10962]=note: print w/replies, xml ) | Need Help?? |
In other words, your form will work if your HTML is exactly like this: 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.
In Section
Seekers of Perl Wisdom
|
|