Hi,
In my survey flow, participants play a brief game. After the game, a single answer multiple choice question is presented asking whether they want to "continue playing" or "stop playing". This sequence repeats for up to 20 rounds.
In my survey flow, the same block and question is used to ask participants if they want to continue or stop playing after each round. As a result, the answer choice that was selected on the previous round (e.g. "I want to continue playing") is auto-selected when the question is displayed again on a subsequent round.
I'd like to clear the previous answer choice so that no answer choice is auto-selected.
Does anyone know whether this is possible with custom code?
Thanks!
Solved
Repeating block in survey flow and want to remove/hide previous answer choice
Best answer by rondev
"I'd like to clear the previous answer choice so that no answer choice is auto-selected."
Solution:
With reference to your previous approach, the question whether they want to "continue playing" or "stop playing" must be single answer question, just make it multi answer question and make both option exclusive. Now paste the below code in the JS onReady function of this question.
jQuery("#"+this.questionId+" input[type='checkbox']").prop("checked",false);
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.


