Answered
I have created a very simple form where I select a date for the beginning of the week with the Date/Time field selector. I then want it to output the next 6 days, dates in fields.
Something like this:
Select: June 7 2010
Then above the words Monday, Tuesday, Wednesday.... etc
Should Appear 7, 8, 9... etc.
I am really stumped and have tried all typed of JavaScript and FormCalc scripts but not luck.
The Start Date field is called: "DateFrom"
Any help will be appreceated.
to add to current date you have to use Date2Num function.
for instance
Num2Date(Date2Num(user entered date) + x)
dates have to converted to number, for the purpose of adding , and then converted back to dates after addition. "x" can be the no. of days you wanna add.
~~ S I D ~~