Hi,
Radio button accurately fills-in with background color when clicked. Works great.
However, can someone please share code (non-JavaScript) that will remove the background color of a radio button when the respondent clicks the same answer a second time? A second click on a radio button answer makes the background color disappear.
Not an exciting dilemma, but anyone's help would be greatly appreciated as usual.
I've explored a previous thread on the subject and found this: https://www.qualtrics.com/community/discussion/1387/deselecting-a-radio-button
Code:
var qid = this.questionId;
Qualtrics.SurveyEngine.registry[qid].setChoiceValue(5, 1, false); //This statement deselected the 1st radio button of 5th row
However, I do not have rights to JavaScript, and my solution would be somewhat different because I have a single column of 12 rows of radio buttons.
Still need help if you can.
Solved
CODE TO DE-SELECT RADIO BUTTON
Best answer by ahmedA
It is not possible to deselect a radio button. You can either provide a "NA" or something like that option or use a multiple choice question, enforcing one choice via validation.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
