CGI::ValidOp::Check::checkbox(3pm)

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).

  1. 6.0–8

Author

Randall Hansen <[email protected]>

From libcgi-validop-perl 0.56-1 in Debian 8 (Jessie). Parsed by carta from the page's man source.