====== 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 **[[https://community.qualtrics.com/inbox/conversation?with=373|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 -> {{::icon_source.jpg?20|}} and paste the provided autoAdvancePages function JS: ==== Run the autoAdvancePages Function ==== ==== Entire Survey ==== To apply **autoAdvancePages** to the entire survey, go to Look & Feel -> General -> Header edit -> {{::icon_source.jpg?20|}} and add the following: ==== Specific Blocks ==== To apply **autoAdvancePages** to specific blocks, go to Look & Feel -> General -> Header edit -> {{::icon_source.jpg?20|}} and add the following: 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''). ====== Qualtrics Wiki ====== [[start|Qualtrics Wiki]]