Helmet Posted April 24, 2009 Share Posted April 24, 2009 That was probably a confusing title, sorry. I have drop downs for entering date information into a form select 1: monday/tuesday/wednesday... select 2: month select 3: date select 4: year These all default on load to today's values, but I'd like selects 2-4 to update with the values corresponding to the next select 1 if the user changes it. I know how to change the values, but I'm drawing a blank on how to calculate what to change them to. Any suggestions? Link to comment https://forums.phpfreaks.com/topic/155568-solved-update-date-month-year-selects-from-next-day-of-the-week-select/ Share on other sites More sharing options...
gnawz Posted April 27, 2009 Share Posted April 27, 2009 very clear. What are you working on? You could automatically change month depending on no of days eg feb 28/29....30/31 Link to comment https://forums.phpfreaks.com/topic/155568-solved-update-date-month-year-selects-from-next-day-of-the-week-select/#findComment-819959 Share on other sites More sharing options...
Helmet Posted April 29, 2009 Author Share Posted April 29, 2009 I resolved this using Mootools new Date.Extras extension: http://www.clientcide.com/wiki/cnet-libraries/03-native/01-date.extras Link to comment https://forums.phpfreaks.com/topic/155568-solved-update-date-month-year-selects-from-next-day-of-the-week-select/#findComment-821484 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.