New Forum | Previous | Next | (P-PDF) Beginners
Topic: FormCalc 'if' issue , 1 Attachments
Conf: (P-PDF) Beginners, Msg: 158034
Date: 2/7/2007 08:44 PM
I'm a beginner in programming and that's why a choose FormCalc instead of JS for writing PDF form scripts. I've read the "FormCalc Specification 2.0" and "Calculation and Scripts" from Adobe.
Still, there's something wrong with the If statement on the „Transport cost” object on the attached Purchase Order form. The issues are:
- when the Purchase Order is starting the value „15” is already there, even if „total” object is < 1000;
- when „total” object reach the value of „2000” the „transport cost” is still „15”, instead of „0” like I would.
I've try to fix it in at least two ways, but i didn't manage to solve the issues.
Could some please tell me what I'm doing wrong with this FormCalc script?