Jifty::Web::Form::Field::Checkbox.3pm

Langue: en

Autres versions - même langue

Version: 2007-12-26 (ubuntu - 08/07/09)

Section: 3 (Bibliothèques de fonctions)

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.