By davidjmcq on
I need to supply a "from" date using a date pop-up calendar widget, but a drop down menu for the "to" date offering a choice of one, two, three or four weeks after the "from" date.
Can anyone give me a pointer?
thanks, David.
Comments
??
I'm sort of lost on what you are trying to accomplish. Can you explain a bit more?
A start date is chosen from a
A start date is chosen from a calendar widget.
We want the end date to be a drop down menu choice of 1,2,3 or 4 weeks after the start date.
For example, if the start date as chosen from the calendar widget is 1st January, the end user should be able to choose "one week", "two weeks", "three weeks" or "four weeks" from a drop down list, which will translate to 8th, 15th, 22nd or 29th.
The "to" date is usually chosen from a calendar widget with a default (currently I've set it to 4 weeks), but that requires the end user to think. We are trying to avoid that problem ;-)
I hope that makes it clearer.