How do I add months to todays date based on drop down selection?

Avatar

Avatar

frankf72364124

Avatar

frankf72364124

frankf72364124

12-04-2017

Hello,

     I am very new to writing script. I was able to cheat using Google for other simple scripts. But I am having a hard time figuring this out. Any help would be greatly appreciated.

If I have 3 fields

PositionType=A Drop Down with 3 selections (A,B,C)

ServiceDate1=A Date field

TodaysDate2 = Calculated date field of todays date

If positionType "A" is selected I want
ServiceDate1 = (TodaysDate2 + 14Months)

If positionType "B" is selected I want
ServiceDate1 = (TodaysDate2 + 26Months)

If positionType "C" is selected I want
ServiceDate1 = (TodaysDate2 + 38Months)

Also,

     Are there any good books for a beginner to learn Java or FormCalc for Adobe Forms.

Thank you for any assistance you can provide,

Frank

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar

PDFGuru

Avatar

PDFGuru

PDFGuru

19-04-2017

could you send me a sample form at lcdesignerforms@gmail.com i will try to help