Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

HTML::FormFu::Element::Radiogroup
Group of radiobutton form fields

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


NAME

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


SYNOPSIS

YAML config:


    ---

    elements:

      - type: Radiogroup

        name: sex

        options:

          - [ 'm', 'Male' ]

          - [ 'f', 'Female' ]


DESCRIPTION

Convenient to use group of radio button fields.

Use the same syntax as you would to create a Select element optgroup to create RadioGroup sub-groups, see options in the HTML::FormFu::Element::_Group manpage for details.


METHODS

options

See options in the HTML::FormFu::Element::_Group manpage.

values

See values in the HTML::FormFu::Element::_Group manpage.

value_range

See value_range in the HTML::FormFu::Element::_Group manpage.

empty_first

See empty_first in the HTML::FormFu::Element::_Group manpage.

auto_id

In addition to the substitutions documented by auto_id in the HTML::FormFu manpage, %c will be replaced by an incremented integer, to ensure there are no duplicated ID's.


    ---

    elements:

      type: Radiogroup

      name: foo

      auto_id: "%n_%c"


SEE ALSO

Is a sub-class of, and inherits methods from the HTML::FormFu::Element::_Group manpage, the HTML::FormFu::Element::_Field manpage, the HTML::FormFu::Element manpage

the HTML::FormFu::FormFu manpage


AUTHOR

Carl Franks, cfranks@cpan.org


LICENSE

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

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy