How to clear two sets of radio buttons based on a checkbox in a side by side item? JavaScript? | XM Community
Question

How to clear two sets of radio buttons based on a checkbox in a side by side item? JavaScript?

  • 24 January 2019
  • 1 reply
  • 38 views

I'm building a survey of side-by-side questions and wish to have an N/A column:

!
!

What I would like to do with javascript code is implement custom behavior with the N/A checkbox such that, when clicked, the row of radio buttons (across the two columns to the right) are cleared if they were previously selected (and possibly grayed-out?). Conversely, if the user selects the N/A checkbox, and then enters a frequency or importance rating, the N/A checkbox is cleared. How can I best implement this behavior?

Thanks for any information on this!

1 reply

Userlevel 5
Badge +13
@Surveys4Fun If you switch to something other than radio buttons you can reset the values, but not with radio buttons. I have tried. The way the radio buttons are build in Qualtrics is not like normal HTML forms. I would suggest using dropdown lists.

Leave a Reply