Table of Contents
autoAdvancePages - Go to next page when last question on page is answered
The autoAdvancePages function automatically clicks the next button when the last question on a page, excluding Metainfo and Timing questions, is answered. Unlike the Qualtrics AutoAdvance Page feature which only applies to the entire survey, autoAdvancePages can be configured to run on the entire survey, specific blocks, or specific pages. Also unlike the Qualtrics AutoAdvance page feature, autoAdvancePages does not require the back button.
autoAdvancePages will automatically advance to the next page when the last question on the page, excluding Metainfo and Timing questions, is one of the following:
- Multiple choice
- Single answer list
- Drop down
- Single answer select box
- Multi-answer with exclusive choices (when an exclusive choice is selected)
- NPS
- Matrix
- Likert single answer standard/profile
- Likert dropdown standard/profile
- Bipolar
- Maxdiff
- Rank Order
- Radio buttons
- Drill Down
This function is available for a reasonable fee. Contact TomG on the Qualtrics Community to learn more.
Set-up Instructions
Add Function To Survey
Add the autoAdvancePages function code to the survey header. Go to Look & Feel → General → Header edit → and paste the provided autoAdvancePages function JS:
<script>/*Paste autoAdvancePages function JS here*/</script>
Run the autoAdvancePages Function
Entire Survey
To apply autoAdvancePages to the entire survey, go to Look & Feel → General → Header edit → and add the following:
<script> Qualtrics.SurveyEngine.addOnload(function() { autoAdvancePages(); }); </script>
Specific Blocks
To apply autoAdvancePages to specific blocks, go to Look & Feel → General → Header edit → and add the following:
<script> Qualtrics.SurveyEngine.addOnload(function() { autoAdvancePages("{${e://Field/autoAdvancePages}"); }); </script>
In the survey flow, set the embedded data field autoAdvancePages=1
to turn on autoAdvancePages and set autoAdvancePages=0
to turn off autoAdvancePages.
Specific Pages
To apply autoAdvancePages to a specific page, add the following JavaScript to a question on the page:
Qualtrics.SurveyEngine.addOnload(function() { autoAdvancePages(); });
If using autoAdvancePages on specific pages, either do not add an autoAdvancePages function call in the survey header or make sure it is turned off (e.g., set embedded data autoAdvancePages=0
).