Highlighted

Acrobat forms using existing text

New Here ,
Oct 16, 2020

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 ... 

TOPICS
How to, PDF forms

Views

18

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Acrobat forms using existing text

New Here ,
Oct 16, 2020

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 ... 

TOPICS
How to, PDF forms

Views

19

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Oct 16, 2020 0
try67 LATEST
Most Valuable Participant ,
Oct 16, 2020

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 16, 2020 0