1HTML::FormFu::Element::UCsheerckCboonxtgrriobuupt(e3d)PHeTrMlL:D:oFcourmmeFnut:a:tEiloenment::Checkboxgroup(3)
2
3
4

NAME

6       HTML::FormFu::Element::Checkboxgroup - Group of checkbox form fields
7

SYNOPSIS

9       YAML config:
10
11           ---
12           elements:
13             - type: Checkboxgroup
14               name: subjects
15               options:
16                 - [ 'Math' ]
17                 - [ 'Science' ]
18                 - [ 'English' ]
19

DESCRIPTION

21       Convenient to use group of checkbox fields.
22
23       Use the same syntax as you would to create a Select element optgroup to
24       create Checkboxgroup sub-groups, see "options" in
25       HTML::FormFu::Element::_Group for details.
26

METHODS

28   options
29       See "options" in HTML::FormFu::Element::_Group.
30
31   values
32       See "values" in HTML::FormFu::Element::_Group.
33
34   value_range
35       See "value_range" in HTML::FormFu::Element::_Group.
36
37   auto_id
38       In addition to the substitutions documented by "auto_id" in
39       HTML::FormFu, %c will be replaced by an incremented integer, to ensure
40       there are no duplicated ID's.
41
42           ---
43           elements:
44             type: Checkboxgroup
45             name: foo
46             auto_id: "%n_%c"
47
48   reverse_group
49       If true, then the label for each checkbox in the checkbox group should
50       be rendered to the right of the field control.  Otherwise, the label is
51       rendered to the left of the field control.
52
53       The default value is "true", causing each label to be rendered to the
54       right of its field control (or to be explicit: the markup for the label
55       comes after the field control in the source).
56
57       Default Value: "true"
58

SEE ALSO

60       Is a sub-class of, and inherits methods from
61       HTML::FormFu::Element::_Group, HTML::FormFu::Element::_Field,
62       HTML::FormFu::Element
63
64       HTML::FormFu
65

AUTHOR

67       Carl Franks, "cfranks@cpan.org"
68

LICENSE

70       This library is free software, you can redistribute it and/or modify it
71       under the same terms as Perl itself.
72
73
74
75perl v5.12.1                      2010-0H5T-M2L3::FormFu::Element::Checkboxgroup(3)
Impressum