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

2 separate field totals need to equal 100%

Community Beginner ,
Mar 27, 2019 Mar 27, 2019

Copy link to clipboard

Copied

Apologies if this has been asked before.

I have two fields where the inputed numbers needs to equal 100%.

For example, if a user enters 30% into field A, field B should generate 70%. The fields cannot exceed 100%.

Thanks for any help in advance.

TOPICS
Acrobat SDK and JavaScript

Views

254

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 ,
Mar 27, 2019 Mar 27, 2019

Copy link to clipboard

Copied

Set the calculation of field B as:

100 - A

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
Community Beginner ,
Mar 27, 2019 Mar 27, 2019

Copy link to clipboard

Copied

Would you be able to provide the full code?

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
Community Expert ,
Mar 27, 2019 Mar 27, 2019

Copy link to clipboard

Copied

What are the exact names of the fields?

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
Community Beginner ,
Mar 27, 2019 Mar 27, 2019

Copy link to clipboard

Copied

Field A: BIZ%

Field B: PUBLIC%

Appreciate the help.

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
Community Expert ,
Mar 27, 2019 Mar 27, 2019

Copy link to clipboard

Copied

LATEST

Enter:

100 - BIZ%

As the Simple Field Notation calculation of PUBLIC%, then.

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