Disabled previous button enables itself after validation on site | XM Community
Question

Disabled previous button enables itself after validation on site

  • 22 August 2019
  • 1 reply
  • 5 views

Hi there!

Scenario: I have the previous button enabled via settings. I want to disable it after a specific page. That works fine with JS
Qualtrics.SurveyEngine.addOnReady(function () {
this.disablePreviousButton();
});

The problem: If I do not answer an enforced question the validation reminds me kindly of this. So far so good. But! The previous button gets enabled in the same step.

Can someone replicate this behavior? I tried also (addOnload and addOnUnload). Same behavior for me.

Appreciate any input on this!

1 reply

Whups.
Found the same issue unanswered: https://www.qualtrics.com/community/discussion/5488/a-validation-error-resfreshes-the-page-and-javascript-wont-execute-why

Leave a Reply