Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

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

$
0
0

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


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>