Skip to main content
mikeh14882240
Participant
February 1, 2017
Answered

Adding to a calculated sum based on a radio button selection

  • February 1, 2017
  • 1 reply
  • 724 views

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!

This topic has been closed for replies.
Correct answer gkaiseril

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.

1 reply

gkaiserilCorrect answer
Inspiring
February 1, 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.

mikeh14882240
Participant
February 1, 2017

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