1HTML::FormFu::Element::URsaedrioCgornoturpi(b3u)ted PerlHTDMoLc:u:mFeonrtmaFtui:o:nElement::Radiogroup(3)
2
3
4
6 HTML::FormFu::Element::Radiogroup - Group of radiobutton form fields
7
9 version 2.07
10
12 YAML config:
13
14 ---
15 elements:
16 - type: Radiogroup
17 name: sex
18 options:
19 - [ 'm', 'Male' ]
20 - [ 'f', 'Female' ]
21
23 Convenient to use group of radio button fields.
24
25 Use the same syntax as you would to create a Select element optgroup to
26 create RadioGroup sub-groups, see "options" in
27 HTML::FormFu::Role::Element::Group for details.
28
30 options
31 See "options" in HTML::FormFu::Role::Element::Group.
32
33 values
34 See "values" in HTML::FormFu::Role::Element::Group.
35
36 value_range
37 See "value_range" in HTML::FormFu::Role::Element::Group.
38
39 empty_first
40 See "empty_first" in HTML::FormFu::Role::Element::Group.
41
42 auto_id
43 In addition to the substitutions documented by "auto_id" in
44 HTML::FormFu, %c will be replaced by an incremented integer, to ensure
45 there are no duplicated ID's.
46
47 ---
48 elements:
49 type: Radiogroup
50 name: foo
51 auto_id: "%n_%c"
52
53 reverse_group
54 See "reverse_group" in HTML::FormFu::Element::Checkboxgroup.
55
57 radiogroup_filename
59 Is a sub-class of, and inherits methods from
60 HTML::FormFu::Element::Checkboxgroup,
61 HTML::FormFu::Role::Element::Group, HTML::FormFu::Role::Element::Field,
62 HTML::FormFu::Element
63
64 HTML::FormFu
65
67 Carl Franks, "cfranks@cpan.org"
68
70 This library is free software, you can redistribute it and/or modify it
71 under the same terms as Perl itself.
72
74 Carl Franks <cpan@fireartist.com>
75
77 This software is copyright (c) 2018 by Carl Franks.
78
79 This is free software; you can redistribute it and/or modify it under
80 the same terms as the Perl 5 programming language system itself.
81
82
83
84perl v5.36.0 2022-07-2H2TML::FormFu::Element::Radiogroup(3)