Carl Franks > HTML-Widget-1.11 > HTML::Widget::Element::Checkbox

Download:
HTML-Widget-1.11.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  4
View/Report Bugs
Source  

NAME ^

HTML::Widget::Element::Checkbox - Checkbox Element

SYNOPSIS ^

    my $e = $widget->element( 'Checkbox', 'foo' );
    $e->comment('(Required)');
    $e->label('Foo');
    $e->checked('checked');
    $e->value('bar');

DESCRIPTION ^

Checkbox Element.

METHODS ^

retain_default

If true, overrides the default behaviour, so that after a field is missing from the form submission, the xml output will contain the default value, rather than be empty.

new

containerize

SEE ALSO ^

HTML::Widget::Element

AUTHOR ^

Sebastian Riedel, sri@oook.de

LICENSE ^

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: