Expand my Community achievements bar.

Prepopulate a two week calendar after a user selects a date from a calendar

Avatar

Former Community Member
I am trying to create a form where the user selects a date from a calendar drop down (field is called PayPeriodFrom) and then it automatically fills in two weeks worth of dates. For example, the user selects 7/4/08 and the following is generated:



7/5, 7/6, 7/7, 7/8, etc etc



I have tried using FormCalc and using the following formula but it only gives me a result of 1/1/1900.

Num2Date(Date2Num("PayPeriodFrom") + "1", "MM-DD")



I do not know Java Script at all and I am new to FormCalc. Any help would be extremelly appreciated as this is a form I need to have completed by Monday the 7th.



Thanks!
1 Reply

Avatar

Former Community Member
I have done some forms that are doing exactly that. I am using JavaScript though. If you send me an email jdee66888@gmail.com , I can send one of those forms to you.