Disable next button on 2nd page of survey | XM Community
Skip to main content

Disable next button on 2nd page of survey

  • February 22, 2022
  • 1 reply
  • 65 views

Forum|alt.badge.img

I have a set of directions across 2 pages respondents should refer to for a different survey. How do I disable the next button on page 2 only, of my 2 page survey? My set of directions (survey) is only 2 pages of text/graphic type, I want to disable the next button because I don't want the end of survey to display. I used the below code which disables for all pages:
User:

1 reply

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • February 22, 2022

Move your css from Custom CSS to the question text of a question on page 2 and place it inside a tag.
It is a subtle point, but your CSS hides the next button, it doesn't disable it. To disable it, add this JavaScript to a question on page 2:
Qualtrics.SurveyEngine.addOnReady(function() {
this.disableNextButton();
});