Text field equation turned off by checking a checkbox.

New Here ,
Feb 09, 2018

Copy link to clipboard

Copied

I have an invoice with a section that includes a "Tax" field. I have a simple equation in this field that calculates the tax based off the amount listed in the "Total" field. The equation simply reads: "Total * 0.0825"

However, I want to be able to select a checkbox called "TaxExempt" that will make the value in the "Tax" field be "0.00".

I've read every forum, but can't find specific solution for this problem. Help!

TOPICS
Acrobat SDK and JavaScript, Windows

Views

53

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

Text field equation turned off by checking a checkbox.

New Here ,
Feb 09, 2018

Copy link to clipboard

Copied

I have an invoice with a section that includes a "Tax" field. I have a simple equation in this field that calculates the tax based off the amount listed in the "Total" field. The equation simply reads: "Total * 0.0825"

However, I want to be able to select a checkbox called "TaxExempt" that will make the value in the "Tax" field be "0.00".

I've read every forum, but can't find specific solution for this problem. Help!

TOPICS
Acrobat SDK and JavaScript, Windows

Views

54

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
Feb 09, 2018 0
try67 LATEST
Most Valuable Participant ,
Feb 09, 2018

Copy link to clipboard

Copied

It's easy. Just set the Export Value of the TaxExempt field to 1 and then include it in your formula, like this:

Total * 0.0825 * TaxExempt

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...
Feb 09, 2018 0