Slide Question Auto-Advance | XM Community
Skip to main content

Slide Question Auto-Advance


Forum|alt.badge.img

Hello. Does anyone have a work around to auto-advance from a slider question?

3 replies

Deepak
QPN Level 8 ●●●●●●●●
Forum|alt.badge.img+44
  • 1549 replies
  • August 29, 2022

Tom_1842
Level 8 ●●●●●●●●
Forum|alt.badge.img+28
  • Level 8 ●●●●●●●●
  • 876 replies
  • August 30, 2022

Hi there, in the link Deepak posted, TomG sums up the challenge nicely:
"Slider questions aren't conducive to auto advance because there isn't a good way of knowing when the respondent has finished answering the question."
I think that's why when AutoAdvance is enabled with the Qualtrics UI, there is a button at the bottom of the slider for respondents to indicate they are ready to move on.
Still, if you have a single slider per page, the below might come close. It clicks the Next button when clicked=yes and clicked is set to yes when the respondent interacts with the slider track. You could probably adjust this for multiple slider statements by modifying how clicked gets changed to yes.
var q = jQuery("#"+this.questionId);
var clicked = "no";

q.find(".track").on("mousedown , touchstart", function() {
clicked = "yes"
});

q.find(".QuestionBody").on("mouseup , touchend", function() {
if(clicked == "yes"){
jQuery("#NextButton").click();
}
});


Forum|alt.badge.img
  • Author
  • 1 reply
  • August 30, 2022

Thank you!


Leave a Reply