Radio button check, unchecked through jquery/java script is not working | XM Community
Skip to main content

survey_console.PNGI'm trying to un-check the multiple radio buttons when the user selects one radio button from the table. But, I could not do it using jquery/javascript. Please help us here.
I have also tried the below option as well but it says -"Cannot read property 'setChoiceValue' of undefined".
Qualtrics.SurveyEngine.registry["QR~QID15~1~1"].setChoiceValue(1, 1, false);
e.g: If user selects the "RadioButton-QR~QID15~2~1" reamining radio buttons should be deselcted.





RadioButton-QR~QID15~1~1 RadioButton-QR~QID15~1~2
RadioButton-QR~QID15~2~1 RadioButton-QR~QID15~1~1
RadioButton-QR~QID15~3~1 RadioButton-QR~QID15~1~1

The preview loads in an iframe, so you'll need to make that active for commands in the console to work.
You can do this by either inspecting any element in the survey and then moving back to the console, or by manually selecting the iframe as the target of the console, click on the arrow where it says top, second row, to the left of filter.


Leave a Reply