Custom JavaScript Code for If/Then/Else Statement
Can someone help me figure out this code. I have a field in a PDF that I need to generate a discount based on original price of an item. If Price is greater than 5000 then I need the discount field to say 1500. Else the discount field needs to be Price* .30.
I tried this but it didn't work: If price>5000 then discount=1500 else discount=price*.3
Anyone have some help?
Thank you!
