Home » HTML » HTML_QuickForm » Bug #2225
"Smart" Date field
Details
| Request #2225 | "Smart" Date field |
|---|---|
| Submitted | 2004-08-26 21:45 UTC |
| From | piotr dot steininger at cox dot net |
| Status | Wont fix |
| Package | HTML_QuickForm |
| PHP Version | Irrelevant |
| OS | irrelevant |
| 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