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::age - A age input control with optional unit inside an Embperl Form

Author

       G. Richter (richter at embperl dot org)

Description

       Used to create an age input control inside an Embperl Form.  Will format date as days:hours:minutes from
       current time.  Optionally it can display an unit after the input field.  See Embperl::Form on how to
       specify parameters.

   PARAMETERtype

       Needs to be 'age'

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

Name

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

See Also

perl(1), Embperl, Embperl::Form

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

Synopsis

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

See Also