Auto-selecting one choice of a question | XM Community
Skip to main content
I have a question that randomly selects 3 options from 5 questions that come previously. In that question I wanted qualtrics to always auto-select one of the choices auto-click the "next button" (also if there are no choices display just auto-click "next button". I have the javascript code for the auto-clicking but I wasn't able to find anything related to auto-clicking choices.

Use the below code to auto clicking the choice. Update the choice id in the below code as required:

jQuery("#"+this.questionId+" input[choiceid='1']").click()

 


In case you dont want to use custom code you can also use autocode choices in question of survey.


Leave a Reply