Skip to main content
fjcunninghamjr
Inspiring
January 27, 2018
Question

Option radio buttons

  • January 27, 2018
  • 1 reply
  • 840 views

I have some radio buttons, i.e. No and Yes, then some options if answered Yes. When No button toggles to Yes how do I keep Yes checked and checking some of the options.

An example would be "Do you have a Pool": 'No' 'Yes' then  'In Gound' 'Above Ground'. Hope I made this understandable.

thanks Frank

This topic has been closed for replies.

1 reply

Thom Parker
Community Expert
Community Expert
January 28, 2018

Actually you'll need to be a bit more clear.  But let me see if I understand the basic gist.

You want to force a radio button selection to remain selected under certain conditions.  Is this correct? If it is then yes, it can be done. You just need to clearly define the conditions.

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
fjcunninghamjr
Inspiring
January 28, 2018

Thanks for your quick response. Here is the actual situation:

On my form, which is to quote sheet for Homeowners coverages, I have a radio buttons asking do you have a swimming poll. The radio option group is:  No, Yes, In-Ground, Above Ground.  If answered No, there is no problems but if answered Yes, I would like the Yes to stay selected then the choice between In-Ground and Above Ground stay selected.  As it is right now only one the buttons in the group stays selected.

Thanks again

Frank

Thom Parker
Community Expert
Community Expert
January 28, 2018

So you can never turn off "Yes"?

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often