Form::Factory::Control::SelectOne - A control for selecting a single item
version 0.017
has_control popup_menu => ( control => 'select_one', options => { available_choices => [ Form::Factory::Control::Choice->new('one'), Form::Factory::Control::Choice->new('two'), Form::Factory::Control::Choice->new('three'), ], default_value => 'two', }, );
A select control that allows a single selection. A list of radio buttons or a drop-down box would be appropriate.
Andrew Sterling Hanenkamp <hanenkamp@cpan.org>
<hanenkamp@cpan.org>
Copyright 2009 Qubling Software LLC.
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
To install Form::Factory, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Form::Factory
CPAN shell
perl -MCPAN -e shell install Form::Factory
For more information on module installation, please visit the detailed CPAN module installation guide.