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

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

  • Jun 22, 2020 1:56 AM UTC
  • 3 replies
  • 251 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.

View original

3 replies

rondev
Level 6 ●●●●●●
Forum|alt.badge.img+22
  • Level 6 ●●●●●●
  • Answer
  • Jun 22, 2020 6:27 AM UTC

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


Forum|alt.badge.img+23
  • QPN Level 5 ●●●●●
  • Aug 24, 2023 7:26 AM UTC

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+36
  • Level 5 ●●●●●
  • Aug 24, 2023 8:30 AM UTC

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();

});