Rose::HTML::Form::FieldU:s:eTrimCeo:n:tSreicbountdesdR(o3Ps)eer:l:HDToMcLu:m:eFnotramt:i:oFnield::Time::Seconds(3)



NNAAMMEE
       Rose::HTML::Form::Field::Time::Seconds - Text field that only accepts
       valid seconds.

SSYYNNOOPPSSIISS
           $field =
              Rose::HTML::Form::Field::Time::Seconds->new(
               label => 'Seconds',
               name  => 'secs');

           $field->input_value(99);
           $field->validate; # 0

           $field->input_value(20);
           $field->validate; # 1

           print $field->html;

           ...

DDEESSCCRRIIPPTTIIOONN
       Rose::HTML::Form::Field::Time::Seconds is a subclass of
       Rose::HTML::Form::Field::Text that only accepts valid seconds: numbers
       between 0 and 59, inclusive, with or without leading zeros.

AAUUTTHHOORR
       John C. Siracusa (siracusa@gmail.com)

LLIICCEENNSSEE
       Copyright (c) 2009 by John C. Siracusa.  All rights reserved.  This
       program is free software; you can redistribute it and/or modify it
       under the same terms as Perl itself.



perl v5.16.3                      2009R-o1s1e-:0:9HTML::Form::Field::Time::Seconds(3)
