2 separate field totals need to equal 100%

New Here ,
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, Macintosh

Views

94

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
community guidelines
Most Valuable Participant ,
Mar 27, 2019 Mar 27, 2019

Copy link to clipboard

Copied

Set the calculation of field B as:

100 - A

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
community guidelines
New Here ,
Mar 27, 2019 Mar 27, 2019

Copy link to clipboard

Copied

Would you be able to provide the full code?

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
community guidelines
Most Valuable Participant ,
Mar 27, 2019 Mar 27, 2019

Copy link to clipboard

Copied

What are the exact names of the fields?

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
community guidelines
New Here ,
Mar 27, 2019 Mar 27, 2019

Copy link to clipboard

Copied

Field A: BIZ%

Field B: PUBLIC%

Appreciate the help.

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
community guidelines
Most Valuable Participant ,
Mar 27, 2019 Mar 27, 2019

Copy link to clipboard

Copied

LATEST

Enter:

100 - BIZ%

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

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