Using a Checkbox to fill in a field

Jun 22, 2020

Copy link to clipboard

Copied

I am looking to have a checkbox fill in a sales tax field.  I would like the checkbox normally checked and fill in with the appropiate sales tax calculation (I am using TaxableTotal*.012).  Than if the user unchecks the checkbox the field will go to zero.  I am just not sure how to make this happen.

 

Thanks in advance

Set the export value of the check-box field to 0.012 and then just multiply the two fields directly.

When the check-box is un-ticked the result will be 0.

TOPICS
Acrobat SDK and JavaScript, PDF forms

Views

41

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

Using a Checkbox to fill in a field

Jun 22, 2020

Copy link to clipboard

Copied

I am looking to have a checkbox fill in a sales tax field.  I would like the checkbox normally checked and fill in with the appropiate sales tax calculation (I am using TaxableTotal*.012).  Than if the user unchecks the checkbox the field will go to zero.  I am just not sure how to make this happen.

 

Thanks in advance

Set the export value of the check-box field to 0.012 and then just multiply the two fields directly.

When the check-box is un-ticked the result will be 0.

TOPICS
Acrobat SDK and JavaScript, PDF forms

Views

42

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
Jun 22, 2020 1
Jun 22, 2020

Copy link to clipboard

Copied

Set the export value of the check-box field to 0.012 and then just multiply the two fields directly.

When the check-box is un-ticked the result will be 0.

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...
Jun 22, 2020 1
Jun 22, 2020

Copy link to clipboard

Copied

Thats what I was lookign for.  Thank you!

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...
Jun 22, 2020 1