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

formcalc help - trying to mulitply or divide based on drop down list

$
0
0

So I am a complete noob at this and slowly learning Livecycle.

 

I have tried to make this formcalc script but its all wrong I'm sure.  I have a drop down list with 3 variables (annually, quarterly, monthly) i need to take the amount in "amount given" box and based on the 3 variables come up with the monthly amounts.

 

if (Giving Regularity == "Annually") then

 

Amount Given/12

 

else

 

if (Giving Regularity == "Quarterly") then

 

Amount Given/3

 

else

 

if (Giving Regularity == "Monthly") then

 

Amount Given*1

 

endif

 

I am sure this is very basic, but I would appreciate any tips from you pros.

 

Capture.PNG


Viewing all articles
Browse latest Browse all 5571

Trending Articles



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