In the previous post,’Create Dynamic Date Selects‘, we ended up with select lists for the Month, Day and Year. In this post, we’ll make these more intuitive by only displaying the correct number of days for a given month/year combination; Continue reading »
Posted by ElanMan at 12:22 pm Tagged with: Dynamic, elanman, forms, html, Javascript, JavaScript Date object, options, PHP, select, select elements
Sep 032009
If you ever require users to submit a date using an online form, perhaps a birthday or an expiry date, a good way to eliminate spelling mistakes and format the submitted date how you want is to provide drop down ‘select’ elements. Using PHP, we can easily create dynamic select elements for the day, month and year.
Posted by ElanMan at 4:52 pm Tagged with: Dynamic, elanman, html, Javascript, options, PHP, select, select elements, xml
What You Said