1HTML::FormFu::Element::URsaedrioCgornoturpi(b3u)ted PerlHTDMoLc:u:mFeonrtmaFtui:o:nElement::Radiogroup(3)
2
3
4

NAME

6       HTML::FormFu::Element::Radiogroup - Group of radiobutton form fields
7

SYNOPSIS

9       YAML config:
10
11           ---
12           elements:
13             - type: Radiogroup
14               name: sex
15               options:
16                 - [ 'm', 'Male' ]
17                 - [ 'f', 'Female' ]
18

DESCRIPTION

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

METHODS

27   options
28       See "options" in HTML::FormFu::Element::_Group.
29
30   values
31       See "values" in HTML::FormFu::Element::_Group.
32
33   value_range
34       See "value_range" in HTML::FormFu::Element::_Group.
35
36   empty_first
37       See "empty_first" in HTML::FormFu::Element::_Group.
38
39   auto_id
40       In addition to the substitutions documented by "auto_id" in
41       HTML::FormFu, %c will be replaced by an incremented integer, to ensure
42       there are no duplicated ID's.
43
44           ---
45           elements:
46             type: Radiogroup
47             name: foo
48             auto_id: "%n_%c"
49
50   reverse_group
51       See "reverse_group" in HTML::FormFu::Element::Checkboxgroup.
52

SEE ALSO

54       Is a sub-class of, and inherits methods from
55       HTML::FormFu::Element::Checkboxgroup, HTML::FormFu::Element::_Group,
56       HTML::FormFu::Element::_Field, HTML::FormFu::Element
57
58       HTML::FormFu
59

AUTHOR

61       Carl Franks, "cfranks@cpan.org"
62

LICENSE

64       This library is free software, you can redistribute it and/or modify it
65       under the same terms as Perl itself.
66
67
68
69perl v5.12.1                      2010-05-2H3TML::FormFu::Element::Radiogroup(3)
Impressum