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

doing and addition and division in the same field

Explorer ,
Jan 19, 2018 Jan 19, 2018

Copy link to clipboard

Copied

Hi,

I am trying to do and addition of two fields and then divide by another field. My formula of text1 + text2 / text3 is not working, any suggestions ? Thank you.

TOPICS
PDF forms

Views

275

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 ,
Jan 19, 2018 Jan 19, 2018

Copy link to clipboard

Copied

if you are using the simplified field notation then I'd suggest putting parentheses around the addition.

(text1 + text2) / text3

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

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
LEGEND ,
Jan 19, 2018 Jan 19, 2018

Copy link to clipboard

Copied

LATEST

You also need to make sure you are not dividing by zero or a very small or very large value.

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