---
name: "Jifty::Web::Form::Field::Checkbox"
section: "3pm"
platform: "linux"
package: "libjifty-perl"
version: "1.10518+dfsg-2"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/Jifty::Web::Form::Field::Checkbox"
---

# Jifty::Web::Form::Field::Checkbox(3pm)

Add checkboxes to your forms

## NAME

Jifty::Web::Form::Field::Checkbox - Add checkboxes to your forms

## METHODS

### accessors

Provide `"checked"` and `"value"` accessors, in addition to Jifty::Web::Form::Field's default accessors.  `"value"` defaults to "1".

### render\_widget

Renders the checkbox widget.

### render\_value

Renders value as a checkbox widget.

### javascript\_preempt

By default, javascript (such as onclick handlers) should not actually prevent browsers from placing the checkmark in the checkbox.
