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

Adding to a calculated sum based on a radio button selection

New Here ,
Feb 01, 2017 Feb 01, 2017

I'm brand new to Acrobat forms calculations.  I consulted a couple of JavaScript programmers, but they're flummoxed by Adobe's field properties!

I have an order form where the user can request up to five products - each resulting in a simple calculation of qty * cost.

There's an additional radio button selection for a website in one of two options. If either choice is selected, I need to add the cost of the website to the total of the five other products.

Help!   And thanks!

TOPICS
Acrobat SDK and JavaScript , Windows
683
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

correct answers 1 Correct answer

LEGEND , Feb 01, 2017 Feb 01, 2017

Be careful about using Radio Buttons because unlike Check Boxes they cannot be unselected once selected.

See Conditional execution and Acrobat JavaScript by Thom Parker for a tutorial on this subject.

Translate
LEGEND ,
Feb 01, 2017 Feb 01, 2017

Be careful about using Radio Buttons because unlike Check Boxes they cannot be unselected once selected.

See Conditional execution and Acrobat JavaScript by Thom Parker for a tutorial on this subject.

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 ,
Feb 01, 2017 Feb 01, 2017

Which is exactly why I added a "Clear Selection" button    Thanks for looking out for the newbie, though!

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 ,
Feb 01, 2017 Feb 01, 2017
LATEST

And that link took me to another link that gave me exactly what I was looking for  - in a different solution, but it worked and that's tha main thing.

You rock!

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