PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » HTML » HTML_QuickForm » Bug #2225

"Smart" Date field

Details

Request #2225"Smart" Date field
Submitted2004-08-26 21:45 UTC
Frompiotr dot steininger at cox dot net
StatusWont fix
PackageHTML_QuickForm
PHP VersionIrrelevant
OSirrelevant
Roadmaps(Not assigned)

Comments

[2004-08-26 21:45 UTC] piotr dot steininger at cox dot net

Description:
------------
i was wondering if you guys could add some extra logic to a date field. What I mean by that is to limit the number of days in the select list to 28 or 29 or 30 depending on the month and year selected. I tried to weed through the code, but it all seems to complicated. I've done something like that with straight up html coding. I attached a javascript function to the onchange event to both the month and year function.

Let me know if that's something you could put in or give me tips as to where in the code can I add extra attribute (onchange) and slide in an extra <script> tag with necessary function.

Thanks

Pete