End Of Survey/Survey Termination Delay | XM Community
Skip to main content
Solved

End Of Survey/Survey Termination Delay

  • January 31, 2019
  • 4 replies
  • 126 views

I currently have one survey made by an prior coworker that upon completion displays a Survey Termination message (e.g. Thank you for completing this form) and then stays there for around 5 seconds before the survey refreshes and starts over again. Inside the Survey Options and Survey Flow, the Survey Termination does not show any alterations to the options. I would like to apply this to a newer form I'm making but I cannot seem to find any coding, scripts, or Qualtrics options that enable me to do this. Simply making a redirect URL refreshes the page instantly and I would like to avoid that.

Best answer by Anonymous

Hello @BraedonL , For specific End of Survey - While creating custom End of Survey message paste the below code in the "<>" source view of the message editor `<script> setTimeout(function(){ window.location.href = "YOUR_SURVEY_URL"; }, 5000); </script>` For all end End of Survey in Survey Flow - Paste the below code in the header(edit) -> "<>" source view <script> Qualtrics.SurveyEngine.addOnReady(function() { if(jQuery("div").hasClass("EndOfSurvey")){ setTimeout(function(){ window.location.href = "YOUR_SURVEY_URL"; }, 5000); } }); </script>
View original

4 replies

  • 0 replies
  • Answer
  • January 31, 2019
Hello @BraedonL , For specific End of Survey - While creating custom End of Survey message paste the below code in the "<>" source view of the message editor `<script> setTimeout(function(){ window.location.href = "YOUR_SURVEY_URL"; }, 5000); </script>` For all end End of Survey in Survey Flow - Paste the below code in the header(edit) -> "<>" source view <script> Qualtrics.SurveyEngine.addOnReady(function() { if(jQuery("div").hasClass("EndOfSurvey")){ setTimeout(function(){ window.location.href = "YOUR_SURVEY_URL"; }, 5000); } }); </script>

Forum|alt.badge.img+5
  • Level 3 ●●●
  • 204 replies
  • March 19, 2019
@Shashi, Is there anyway to set up a redirect to a webpage after the end of survey message times out? I would like for my end of survey message to display for 5 seconds, then return to the beginning of the survey. Your code worked but I just get a white screen after the message goes away.

  • 1 reply
  • July 23, 2019
did you ever solve this?

  • 1 reply
  • November 26, 2019
Hi there! I am trying to achieve a delay before redirect as well, I ended up adding a META tag at the end of the source code in the end of survey message. When I preview the message it redirects just fine, but on the published survey it does not redirect??? code used: <! meta http-equiv="refresh" content="5;url=https://SURVEY_URL"> Is there a work around for this?

Leave a Reply