Answered
Hello,
I have an XFA form build in LCD 8.2 that I am looking for a script to calculate the following:
If the price is between $200 and $500, then a discount of 5% is applied to the price and shows up in a discounted price field.
So, if the price is $200 the actual price will be $190.
There would be variable price points where different discounts apply.
Can someone help?
Thanks in advance.
Put this script into the calulate event of the discountered price field.
You have to change "NumericField1" to the name of the field where you type in your prices.
And don't forget to set the script editor to FormCalc, not JavaScript.
radzmar
• LoveCycle Blog
Documents you need:
• LiveCycle Designer ES2 Docs