Back button - multiple pages | XM Community
Skip to main content
Question

Back button - multiple pages


Forum|alt.badge.img+4

Is there a way of adding a button or editing the back button to skip back 2/3 pages and count how many times respondents click it? This is within the same block, and I’ve removed branch logic btw.

5 replies

ArunDubey
QPN Level 8 ●●●●●●●●
Forum|alt.badge.img+40
  • QPN Level 8 ●●●●●●●●
  • 589 replies
  • August 2, 2023

You can create embedded field to count back button click and initialize the value with 0. Then increase the count using JS. 

 


rgupta15
Level 4 ●●●●
Forum|alt.badge.img+8
  • Level 4 ●●●●
  • 92 replies
  • August 3, 2023

For skipping just use the below code and create a counter variable to store the clicks.

Skip:

jQuery(‘#NextButton’).click() #for next btn

jQuery(‘#PreviousButton’).click() #for previous btn

Store clicks:

var a=jQuery(‘.QuestionBody’).click()

if(a==True){ counter_val+=1}

 


SaurabhPujare_Ugam
QPN Level 5 ●●●●●
Forum|alt.badge.img+18

Hi @RElsdon,

  • Is there a way of adding a button or editing the back button to skip back 2/3 pages:- Unfortunately, you cannot, because as in Qualtrics terminology when it says “Survey Flow” it absolutely flows in sequential manner (where logics only flows in “forward” sequence).
     
  • count how many times respondents click it? This is within the same block, and I’ve removed branch logic btw. :- As others suggested you can make use of “click()” event over the id “#PreviousButton” to capture the click counts.

All the best!


Forum|alt.badge.img+4
  • Author
  • Level 2 ●●
  • 19 replies
  • August 3, 2023

There must be some code somewhere that tells Qualtrics that the back button goes back 1 page. Can I not just edit that line of code so it goes back 3 pages?


ManfredBM
Level 5 ●●●●●
Forum|alt.badge.img+34
  • Level 5 ●●●●●
  • 114 replies
  • August 3, 2023

There’s a “solution” in this discussion:
Is it possible have back button send participant back 2 pages? | XM Community (qualtrics.com)

 

But that’s something you would have to implement on every single page of your survey. Not very practical :(


Leave a Reply