Solved
End Of Survey/Survey Termination Delay
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 originalLeave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.