Use a back button within blocks / Keep participants from moving back and forth between blocks | XM Community
Skip to main content
Solved

Use a back button within blocks / Keep participants from moving back and forth between blocks

  • June 22, 2020
  • 3 replies
  • 188 views

daveesparza

Hi! I am working on a survey that presents participants with questions on two scenarios that they are supposed to complete to get credit. It is important that I am able to let them move back and forth between the questions in each block BUT that they are not able to move back and forth between the two blocks. Is there a way to let the participants move back/forth between the questions in a single scenario but not let them move between the two blocks? Thanks!

Best answer by rondev

On the first question of the second block, just hide or disable the previous button using javascript.

3 replies

rondev
Level 6 ●●●●●●
Forum|alt.badge.img+22
  • Level 6 ●●●●●●
  • Answer
  • June 22, 2020

On the first question of the second block, just hide or disable the previous button using javascript.


Forum|alt.badge.img+21
  • QPN Level 5 ●●●●●
  • August 24, 2023

hi @rondev, Is there any JS to enable/display the back button on the first question of a new block


ManfredBM
Level 5 ●●●●●
Forum|alt.badge.img+35
  • Level 5 ●●●●●
  • August 24, 2023

Hi,
you can use the following JS code on the first question of the new block:
 

Qualtrics.SurveyEngine.addOnload(function ()

{

// Hide back button on this specific page
this.hidePreviousButton();

});