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

How to add values assigned to checkboxes?

Contributor ,
May 10, 2024 May 10, 2024

Good day!

I have a PDF form with checkboxes with corresponding values.

What I want is when a checkbox is selected, it would get the value and add it along with the value with the other selected checkboxes.

Example:

[  ]  Option 1  (value is 100)

[  ]  Option 2  (value is 200)

[  ]  Option 3  (value is 300)

Thus, if I select only Option 1, the result would be 100

If I select Option 1 and Option 3, the result would be 400

I hope you can help me with my problem.

TOPICS
PDF forms
1.0K
Translate
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
1 ACCEPTED SOLUTION
Community Expert ,
May 10, 2024 May 10, 2024

Set those numbers as the Export Values of the check-boxes and then use the built-in Sum option under the Calculate tab of the total text field and select all the check-boxes.

View solution in original post

Translate
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 ,
May 10, 2024 May 10, 2024

Set those numbers as the Export Values of the check-boxes and then use the built-in Sum option under the Calculate tab of the total text field and select all the check-boxes.

Translate
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
Contributor ,
May 18, 2024 May 18, 2024

Thanks so much for this solution.

Translate
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 ,
Jul 10, 2024 Jul 10, 2024

Is there a max number of Check Boxes you can add?  I cannot get this to work no matter what I try 😞

 

Translate
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 ,
Jul 10, 2024 Jul 10, 2024
LATEST

Not that I'm aware of. What exactly are you trying to do, and what are the results?

Translate
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
Adobe Employee ,
May 10, 2024 May 10, 2024

Hi there

Hope you are doing well and thanks for reaching out.

The workflow you are trying to achieve is might be possible using JavaScript. For more information please check the help pages listed below:
https://acrobatusers.com/tutorials/javascript_console/
https://helpx.adobe.com/acrobat/using/applying-actions-scripts-pdfs.html

Hope it will help

Regards
Amal

Regards
Amal
Translate
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