Javascript to Auto advance to next block upon response | XM Community
Skip to main content

Hi,
I want to set my questions to auto advance upon a response (single answer radio button, bipolar scale). I have only one question at the end of each block, so it would need to advance to the next block. I have tried various codes provided by others such as below, but it doesn't work. I have tried it in preview mode and in published mode. I would also like to hide the Next button.
Thanks for your help.

Qualtrics.SurveyEngine.addOnReady(function()
{
var that = this;
var answers = $$(".SingleAnswer");
for(var x = 0; x answers[x].observe('click', function(event) {
that.clickNextButton();
});
}
});

Be the first to reply!

Leave a Reply