
HTML::Widgets::DateEntry - creates date entry widgets for HTML forms.

use HTML::Widgets::DateEntry;
$de = new HTML::Widgets::DateEntry(
year => ['date_year', $date_year],
month => ['date_month', $date_month],
day => ['date_day', $date_day],
separator => '/',
pre_year => 1,
post_year => 1,
-iso => 1,
);
print $de->render_widget;

HTML::Widgets::DateEntry is a simple module to generate HTML date entry widgets.
Currently generates widgets that look like:
[YYYY]/[MM]/[DD]
Will be able to generate
[MM]/[DD]/[YYYY] [YYYY]/[MM] [MM]/[YYYY] [YYYY]
new(% );
Use like $de = new HTML::Widgets::DateEntry(year => ['date_year',$year], month => ['date_month',$month], day => ['date_day',$day]);
returns a date entry widget object with the fields named as specified.
if defaults are not provided, values from localtime will be used.
this will get better :-)
render_widget()
Use like print $de->render_widget;
returns a string representing an HTML date entry widget. with the fields named as specified, and defaults set as specified when the object was created.
this will get better :-)

COPYRIGHT 2000 THE REGENTS OF THE UNIVERSITY OF MICHIGAN
ALL RIGHTS RESERVED
PERMISSION IS GRANTED TO USE, COPY, CREATE DERIVATIVE WORKS
AND REDISTRIBUTE THIS SOFTWARE AND SUCH DERIVATIVE WORKS FOR
NON-COMMERCIAL EDUCATION AND RESEARCH PURPOSES, SO LONG AS NO
FEE IS CHARGED, AND SO LONG AS THE COPYRIGHT NOTICE ABOVE,
THIS GRANT OF PERMISSION, AND THE DISCLAIMER BELOW APPEAR IN
ALL COPIES MADE; AND SO LONG AS THE NAME OF THE UNIVERSITY
OF MICHIGAN IS NOT USED IN ANY ADVERTISING OR PUBLICITY
PERTAINING TO THE USE OR DISTRIBUTION OF THIS SOFTWARE
WITHOUT SPECIFIC, WRITTEN PRIOR AUTHORIZATION.
THIS SOFTWARE IS PROVIDED AS IS, WITHOUT REPRESENTATION AS
TO ITS FITNESS FOR ANY PURPOSE, AND WITHOUT WARRANTY OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT
LIMITATION THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE. THE REGENTS OF THE
UNIVERSITY OF MICHIGAN SHALL NOT BE LIABLE FOR ANY DAMAGES,
INCLUDING SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WITH RESPECT TO ANY CLAIM ARISING OUT OF OR IN
CONNECTION WITH THE USE OF THE SOFTWARE, EVEN IF IT HAS BEEN
OR IS HEREAFTER ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
( This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself. )

perl(1)

Hugh Kennedy <kennedyh@engin.umich.edu>
__| \ __| \ |
( _ \ _| . |
\___|_/ Web Systems