• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Acrobat forms using existing text

New Here ,
Oct 16, 2020 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

173

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
community guidelines
Community Expert ,
Oct 16, 2020 Oct 16, 2020

Copy link to clipboard

Copied

LATEST

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.

Votes

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
community guidelines