Embperl::Form::Control::number.3pm

Langue: en

Autres versions - même langue

Version: 2006-05-21 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Embperl::Form::Control::number - A numeric input control with optional unit inside an Embperl Form

SYNOPSIS

   {
   type => 'input',
   text => 'blabla',
   name => 'foo',
   unit => 'sec',
   }
 
 

DESCRIPTION

Used to create a numeric input control inside an Embperl Form. Optionaly it can display an unit after the input field. See Embperl::Form on how to specify parameters.

PARAMETER

type

Needs to be 'number'

name

Specifies the name of the control

text

Will be used as label for the numeric input control

size

Gives the size in characters. (Default: 10)

maxlength

Gives the maximun length in characters

unit

Gives a string that should be displayed right of the input field.

Author

G. Richter (richter@dev.ecos.de)

See Also

perl(1), Embperl, Embperl::Form