Is it possible to skip the Submission page on a Survey? | XM Community
Solved

Is it possible to skip the Submission page on a Survey?

  • 12 February 2024
  • 2 replies
  • 48 views

Badge +2

At the end of a survey there is a page that says “End of survey. Select Submit to finish.” The next button turns into a Submit button. Is there a way to skip this page and automatically submit the results?

This page is not represented anywhere in the Survey Editor, so the branching logic cannot be used to skip it. I have tried adding JavaScript to the addOnPageSubmit callback but I get an error. I have called the clickNextButton method in an attempt to artificially click the Next/Submit button, but the error I get is “Your page was outdated so we updated it with your most recent response.”

icon

Best answer by PhilB 14 February 2024, 02:48

View original

2 replies

Userlevel 3
Badge +11

I would recommend going into the look and feel then general section - on your next button is it typed in there as submit?

Badge +2

I was able to figure it out. The code to artificially click the Submission button needs to be in an asynchronous callback so that it happens after advancing from the current question. Here is the code that worked. This was placed on the last question:

Qualtrics.SurveyEngine.addOnPageSubmit(function()
{
    // Skip the Submission page by forcing click of the next button
    setTimeout(()=>{
        this.clickNextButton();
    }, 1);    
});

 

Leave a Reply