logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Embperl::Form::Control::checkbox - A checkbox control inside an Embperl Form

Author

       G. Richter (richter at embperl dot org)

Description

       Used to create an checkbox control inside an Embperl Form.  See Embperl::Form on how to specify
       parameters.

   PARAMETERtype

       Needs to be 'checkbox'

       name

       Specifies the name of the checkbox control

       force_name

       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.

       text

       Will be used as label for the checkbox control

       value

       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.

       class

       Extra css class

Name

       Embperl::Form::Control::checkbox - A checkbox control inside an Embperl Form

See Also

perl(1), Embperl, Embperl::Form

perl v5.34.0                                       2022-02-06                       Form::Control::checkbox(3pm)

Synopsis

         {
         type  => 'checkbox',
         text  => 'blabla',
         name  => 'foo',
         value => 'bar'
         }

See Also