Copy link to clipboard
Copied
Dear All,
I'm making a pdf Form in Acrobat Pro Extended 9.
I want to use existing numbers to use in a forumla (it's OCR'd text).
Is there a way to do this?
If so, what's the proper procedure?
Also, I want to make a formula that says 'if the QTY is 3 or less, use the first value, but if QTY is less than 3, then use the other value'.
Please tell me the syntax I'm supposed to use.
I do not know JavaScript.
Thanx ...
Copy link to clipboard
Copied
It's possible, but very complex. Your script will have to read the static contents of the file (using getPageNthWord), then find out which number to use (based on its location, which you can get using getPageNthWordQuads, or textual context, etc.), and then convert it to a number and use in the formula. I would just hard-code the number into the script, instead.