Embperl::Form::Control::checkbox - A checkbox control inside an Embperl Form
{ type => 'checkbox', text => 'blabla', name => 'foo', value => 'bar' }
Used to create an checkbox control inside an Embperl Form. See Embperl::Form on how to specify parameters.
Needs to be 'checkbox'
Specifies the name of the checkbox control
overwrites the name of the control. This is especially useful inside grids, where you can force the name of all checkboxes in all rows to be the same name.
Will be used as label for the checkbox control
Gives the value for the checkbox.
%%<xx>%% is replaced by $fdat{<xx>}
%%%name%%% is replaced by $fdat{<name>}, where <name> is the value that is given with name parameter. Is is especially useful inside of grids where the actual name of the html control is computed dynamically.
Extra css class
G. Richter (richter at embperl dot org)
perl(1), Embperl, Embperl::Form
To install Embperl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Embperl
CPAN shell
perl -MCPAN -e shell install Embperl
For more information on module installation, please visit the detailed CPAN module installation guide.