Answered
I'm also new to scripting and would like to convert the following nested statement to a FormCalc or Java script. I'm sure it is possible but I'm out of my element.
TIA
cc is a selection from a dropdown
if(cc="ud",(uap*1.16)+4.95,(if(cc="multi",(uap*1.16)+13.50,(if(cc="ivpb",(uap*1.16)+67,(if(cc="TPN",(uap*1.16)+250,(if(cc="pom",4.95,0.0)))))))))
The result displays as currency.
I think a switch case function (JavaScript) will be the best for it.
Put it into the change:event of the dropdown box.
radzmar
• LoveCycle Blog
Documents you need:
• LiveCycle Designer ES2 Docs