How to disable "back" button for one block or question? | XM Community
Skip to main content
Solved

How to disable "back" button for one block or question?

  • March 21, 2022
  • 3 replies
  • 4744 views

I am designing an experimental study, and I want the participants not to go back to the previous question/block after they are done with the experiment and respond to the post-experiment questions. How to disable the "back" button for one block or question. Thanks.

Best answer by ManfredBM

Hi,
one way of achieving this is to add the following to the JavaScript section of the questions where you want to hide the back button:

Qualtrics.SurveyEngine.addOnload(function ()
{
//hides the next button on a page
this.hidePreviousButton();
});

3 replies

ManfredBM
Level 5 ●●●●●
Forum|alt.badge.img+35
  • Level 5 ●●●●●
  • 113 replies
  • Answer
  • March 21, 2022

Hi,
one way of achieving this is to add the following to the JavaScript section of the questions where you want to hide the back button:

Qualtrics.SurveyEngine.addOnload(function ()
{
//hides the next button on a page
this.hidePreviousButton();
});


  • Author
  • 2 replies
  • March 25, 2022

Thanks a bunch. It worked.


Forum|alt.badge.img+4
  • Level 2 ●●
  • 19 replies
  • September 20, 2023

Is there a way of achieving this without having to add it to every question in the block?