Automatic forwarding to next question | Experience Community
Skip to main content
Solved

Automatic forwarding to next question

  • Oct 24, 2018 2:41 PM UTC
  • 15 replies
  • 6576 views

Forum|alt.badge.img+1
Hi everyone, For questions where it makes sense (e.g. single choice questions), I would like to automatically forward to the next question to make the survey faster. I believe this should work with JavaScript. Has anyone already written some code that works for this purpose and could help me with this? Thanks a lot! Anna

Best answer by TomG

Qualtrics has a new auto advance feature. I haven't tried it yet, but you can turn it on under Look & Feel, Motion, AutoAdvance on Questions/AutoAdvance on Pages. If that doesn't work out, I have a JavaScript you can contact me about. It automatically goes to the next page when the last question on a page is answered. The script can be placed in the header or footer and works on any page where the last question is Multiple Choice (Single answer, Drop down, Single select box, or NPS), Matrix (Likert single answer, Profile single answer, Bipolar, MaxDiff, Likert drop down or Profile drop down), or Rank Order (Radio Buttons).
View original

15 replies

PeeyushBansal
Level 7 ●●●●●●●
Forum|alt.badge.img+53
  • Level 7 ●●●●●●●
  • Oct 24, 2018 2:59 PM UTC

You can add timer question in block of questions and set the time read below post too


PeeyushBansal
Level 7 ●●●●●●●
Forum|alt.badge.img+53
  • Level 7 ●●●●●●●
  • Oct 24, 2018 3:03 PM UTC

You can put javs script on ready in each question: `setTimeout(function () {jQuery('#NextButton').click();},2000);`


Forum|alt.badge.img+1
  • Author
  • Oct 24, 2018 3:10 PM UTC
Thanks, @bansalpeeyush29, however this doesn't work for me as I don't want to set a timer for the user to answer the question. Does anyone else have an idea of how to solve this without a time out?

PeeyushBansal
Level 7 ●●●●●●●
Forum|alt.badge.img+53
  • Level 7 ●●●●●●●
  • Oct 24, 2018 3:22 PM UTC

If you are looking specifically for single select question you can refer below post:

 


Forum|alt.badge.img+1
  • Author
  • Oct 24, 2018 3:29 PM UTC
Thank you, @bansalpeeyush29! I will try it as I am indeed looking specifically for single select questions.

NiC
QPN Level 5 ●●●●●
Forum|alt.badge.img+28
  • QPN Level 5 ●●●●●
  • Oct 24, 2018 3:44 PM UTC

` this.questionclick = function(event,element){ if(jQuery('input[type="radio"]').is(':checked')){jQuery('#NextButton').click();} };` Only works if the question is the only one on page and on single select question


  • Oct 24, 2018 3:49 PM UTC

Hello @Animalena The following solution will work for single select answer and the only question in page Add the following code in the js(OnReady) jQuery('input[type="radio"]').on('click',function(){jQuery('#NextButton').click();});


TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Answer
  • Oct 24, 2018 9:00 PM UTC
Qualtrics has a new auto advance feature. I haven't tried it yet, but you can turn it on under Look & Feel, Motion, AutoAdvance on Questions/AutoAdvance on Pages. If that doesn't work out, I have a JavaScript you can contact me about. It automatically goes to the next page when the last question on a page is answered. The script can be placed in the header or footer and works on any page where the last question is Multiple Choice (Single answer, Drop down, Single select box, or NPS), Matrix (Likert single answer, Profile single answer, Bipolar, MaxDiff, Likert drop down or Profile drop down), or Rank Order (Radio Buttons).

LaurenK
Former XM Community Team Member
Forum|alt.badge.img+13
  • Former XM Community Team Member
  • Oct 24, 2018 9:24 PM UTC
Hi @Animalena! If you have not yet already, be sure to check out this page about our new Look & Feel editor and autoadvance feature!

Forum|alt.badge.img+1
  • Author
  • Oct 25, 2018 7:03 AM UTC
Thank you very much @TomG and @LaurenK ! I wasn't aware of this new functionality. It's exactly what I needed! Brilliant 😀

Forum|alt.badge.img
  • Mar 6, 2021 2:55 PM UTC

Hi @TomG
In this discussion, you mentioned that you have Javascript code. Can you share with me the Javascript code where I can post in header recourse code<>? Really appreciated! The last question on every page is multiple choices with a single answer. The reason I need the Javascript code instead of checking the auto button in Look & Feel is that I want to have this automatic function within certain blocks but not in other blocks. So I will write something like the following in the header recourse code:
if("${e://Field/enableautopage}"==1)
your Javascript code here


TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Mar 6, 2021 6:46 PM UTC

Pei_2009 - I answered your private message.


KOgles
Level 3 ●●●
Forum|alt.badge.img+21
  • Level 3 ●●●
  • Mar 30, 2021 2:20 PM UTC

TomG - The new auto-advance feature is awesome! However, it's not working for me with all of my question types, specifically star rating and free text. Would the JS you mentioned worked for these type of questions?


TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Mar 30, 2021 3:02 PM UTC

No, it could be done but it creates usability issues that may be counterproductive. You risk catching respondents unawares and advancing before they are ready. That's probably the reason Qualtrics auto-advance doesn't work with these question types.


KOgles
Level 3 ●●●
Forum|alt.badge.img+21
  • Level 3 ●●●
  • Mar 30, 2021 3:06 PM UTC

Ok, thanks for the quick response. I appreciate it!