CGI::ValidOp::Check::checkbox3pm
Cgi::validop::check module to validate a checkbox control.
Overview
- default
-
Fails unless value equals "on" (or "on," since it's case-insensitive). Using this check requires the checkbox to be checked; if the checkbox is unchecked an error will be created.
- boolean
-
Returns 1 if the checkbox was checked (i.e. is "on"); 0 if it was not; an error if it reeives any other data.
Releases
Unchanged in 3 releases since Debian 6.0 (Squeeze).