---
name: "CGI::Test::Form::Widget::Box::Check"
section: "3pm"
platform: "linux"
package: "libcgi-test-perl"
version: "1.111-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/CGI::Test::Form::Widget::Box::Check"
---

# CGI::Test::Form::Widget::Box::Check(3pm)

A checkbox widget

## NAME

CGI::Test::Form::Widget::Box::Check - A checkbox widget

## SYNOPSIS

```
 # Inherits from CGI::Test::Form::Widget::Box
 # $form is a CGI::Test::Form
 my ($agree, $ads) = $form->checkbox_by_name(qw(i_agree ads));
 die "expected a standalone checkbox" unless $agree->is_standalone;
 $agree->check;
 $ads->uncheck_tagged("spam OK");
```

## DESCRIPTION

This class represents a checkbox widget, which may be checked or unchecked at will by users.

The interface is the same as the one described in CGI::Test::Form::Widget::Box.

## AUTHORS

The original author is Raphael Manfredi.

Steven Hilton was long time maintainer of this module.

Current maintainer is Alexander Tokarev *\<tokarev@cpan.org\>*.

## SEE ALSO

**CGI::Test::Form::Widget::Box**(3), **CGI::Test::Form::Widget::Box::Radio**(3).
