I cannot get my if, else if calculation to work. I have tried everything. I created a purchase order form and if they choose a certain quantity the price will be x, but no matter what i do it will not produce a number, here is the code:
if(Quantity[0]=250)then
UnitPrice[0]=1.65
else
(Quantity[0]== 500) then
UnitPrice[0] 1.40
endif
I did not write any variables before the if calculation and I am using javascript.
can anyone help?
- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com