Embperl::Form::Control::price - A price input control with optional unit inside an Embperl Form
{ type => 'price', text => 'blabla', name => 'foo', unit => 'sec', }
Used to create a datetime input control inside an Embperl Form. Will format number as a date/time. See Embperl::Form on how to specify parameters.
Datetime format in %fdat is expected as YYYYMMTTHHMMSSZ
Needs to be 'datetime'
Specifies the name of the control
Will be used as label for the numeric input control
Gives the size in characters. (Default: 10)
does not display time
allows the following values to be entered:
d, m, y, d-N, d+N, m-N, m+N, y-N, y+N
N is any number. This values are simply passed through and need to be process somewhere else.
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.