GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  HTML::FORMHANDLER::FIELD::DATETIME (3)

.ds Aq ’

NAME

HTML::FormHandler::Field::DateTime - compound DateTime field

CONTENTS

VERSION

version 0.40065

DESCRIPTION

This is a compound field that requires you to define the subfields for month/day/year/hour/minute. Widget type is ’compound’.

If you want to use drop-down select boxes for your DateTime, you can select fields like:



    has_field my_date => ( type => DateTime );
    has_field my_date.month => ( type => Month );
    has_field my_date.day => ( type => MonthDay );
    has_field my_date.year => ( type => Year );
    has_field my_date.hour => ( type => Hour );
    has_field my_date.minute => ( type => Minute );



If you want simple input fields:



    has_field my_date => ( type => DateTime );
    has_field my_date.month => ( type => Integer, range_start => 1,
         range_end => 12 );
    has_field my_date.day => ( type => Integer, range_start => 1,
         range_end => 31 );



Customizable error: ’datetime_invalid’ (default = Not a valid DateTime)

See the ’Date’ field for a single input date field.

AUTHOR

FormHandler Contributors - see HTML::FormHandler

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by Gerda Shank.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 HTML::FORMHANDLER::FIELD::DATETIME (3) 2016-03-20

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.