I am attempting to have a price list total based on which checkbox the client checks. Is this possible?

New Here ,
May 03, 2019 May 03, 2019

Copy link to clipboard

Copied

I would like to have a price list total based on which checkbox my client chooses to select. It could 1 they select, 10 they select, 15 they select or more. See screen capture of my form.

screenshot_2549.png

TOPICS
Acrobat SDK and JavaScript, Macintosh

Views

103

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 ,
May 03, 2019 May 03, 2019

Copy link to clipboard

Copied

Sure, it's possible. Are the prices form fields as well, or just regular text?

And what are the names of the check-box 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 ,
May 03, 2019 May 03, 2019

Copy link to clipboard

Copied

The prices are regular fields and would need to be added to the script. The checkbox names are t1, t2, t3, etc.

~TY

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 ,
May 03, 2019 May 03, 2019

Copy link to clipboard

Copied

I meant to say "regular text". The only form fields are the checkboxes and the total.

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 ,
May 03, 2019 May 03, 2019

Copy link to clipboard

Copied

Ah, OK. In that case it's quite simple. Simply apply the price corresponding to each check-box as its export value (just the number, without the dollar symbol!), and then you'll be able to use the built-in Sum function under the Calculate tab of the total field to add them all up.

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 ,
May 03, 2019 May 03, 2019

Copy link to clipboard

Copied

LATEST

You ARE AWESOME!

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