The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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

class

Extra css class

Author

G. Richter (richter at embperl dot org)

See Also

perl(1), Embperl, Embperl::Form