---
name: "CGI::ValidOp::Check::checkbox"
section: "3pm"
platform: "linux"
package: "libcgi-validop-perl"
version: "0.56-1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/CGI::ValidOp::Check::checkbox"
---

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

CGI::ValidOp::Check module to validate a checkbox control.

## NAME

CGI::ValidOp::Check::checkbox - CGI::ValidOp::Check module to validate a checkbox control.

## DESCRIPTION

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

## AUTHOR

Randall Hansen \<legless@cpan.org\>

## COPYRIGHT

Copyright (c) 2003-2005 Randall Hansen. All rights reserved.

This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.

See http://www.perl.com/perl/misc/Artistic.html
