Gerald Richter > Embperl > Embperl::Form::Control::checkbox

Download:
Embperl-2.5.0.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  4
Open  2
View/Report Bugs
Source  

NAME ^

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

SYNOPSIS ^

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

DESCRIPTION ^

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

PARAMETER

type

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 dynamicly.

class

Extra css class

Author ^

G. Richter (richter at embperl dot org)

See Also ^

perl(1), Embperl, Embperl::Form

syntax highlighting: