Daniel Ruoso > Oak-Web-1.8 > Oak::Web::Additional::Datefield

Download:
Oak-Web-1.8.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Source  

NAME ^

Oak::Web::Additional::Datefield - Component to create a date field

DESCRIPTION ^

This component creates a date field with 3 different inputs. The inputs can be show in the order you config and with the separator you choose.

HIERARCHY ^

Oak::Object

Oak::Persistent

Oak::Component

Oak::Web::Visual

Oak::Web::Additional::Datefield

PROPERTIES ^

format

YMD,DMY or MDY. The format that the inputs will be shown. Defaults to DMY.

date

The date itself. It _is_ in the forat YYYY-MM-DD. And _only_ this format.

separator

The character that separates the inputs, defaults to "/"

required

If true, then the field must be filled, else not.

EXCEPTIONS ^

Oak::Web::Additional::Datefield::Error::InvalidDate

An invalid date was found.

COPYRIGHT ^

Copyright (c) 2001 Daniel Ruoso <daniel@ruoso.com> All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.