Hi! I have a question that is hidden and has page breaks on both ends, like so:
Question 1
Page break 1
Question 2 (Hidden using code below)
Page break 2
Question 3
This works great when you are moving forward through the survey. However, if you want to move backward, from Question 3 to Question 1, you're not able to. You end up going back to Question 2 which automatically sends you forward to Question 3. Is there any way for respondents to be able to go back from Question 3 to Question 1 if they want? For example, can the back button send a participant back 2 pages, instead of just one? (Note: The JS below is copied from various searches. I don't know JS yet.) Thanks!!!!
Qualtrics.SurveyEngine.addOnload(function() {
jQuery("#"+this.questionId).hide();
jQuery('.QuestionOuter').css('visibility','hidden')
jQuery('#Wrapper').css('visibility','hidden');
jQuery('#Wrapper').css('opacity','0');
});
Qualtrics.SurveyEngine.addOnReady(function() {
jQuery('#NextButton').click();
jQuery('#Wrapper').css('visibility','hidden')
});
Best answer by ahmedA
View original