We are designing a survey that will be administered over the phone. To make it easy on our Teleservice reps, it would be ideal if we could have an "out" built in if a respondent should decide they no longer wish to participate. That way, the reps don't have to keep clicking the "Next" button all the way until the end of the survey.
Does anyone know if creating this button is possible? Or would it be better to include an "Exit Survey" response to every question that would take the reps to the end of the survey?
Thank you!
If you're able to use some HTML/CSS/JS, you could:
1. In the header and/or footer section of your survey, define something like this (an button that will appear on every survey page and, when clicked, create an Embedded Data field):
```<button onclick=Qualtrics.SurveyEngine.setEmbeddedData( 'escapeButtonClicked', 1)">escape!</button>
```
2. Then, in your survey flow, use ${e://Field/escapeButtonClicked} in the logic to direct to the end of the survey where needed.
If the reps just close the window/browser the survey is opened in and click on the link again, it will take them to where they left off when they closed it.
I was able to add the HTML to the footer section and I see the button on every page, but I'm not understanding where to put the second code in the survey flow. Could you please explain that further?
Re: #2, you can actually use the UI Embedded Data -- it'll depend on your flow where to insert it. It's admittedly a bit clunky depending on how many pages/blocks your survey has since you'd need to tell it, "Before each page, determine if the escape button was clicked". Here's a simple/dumb example:
!
```
<button onclick=Qualtrics.SurveyEngine.setEmbeddedData( 'escapeButtonClicked', 1)">escape!</button>
Button clicked: ${e://Field/escapeButtonClicked}
```
Then, as you go page to page, you'll see a 1 once the escape button is clicked.
Hi there,
I came across this post through the search function. I tried to paste the code for the button in the footer, but instead of seeing a button I only see the code. Can someone help?
Maybe good to know: I do not know anything about java or html so I am sorry if this is a very stupid question!
Thanks in advance
Hello,
Thank you for these posts. I am trying to create an exit button but I am new to html. Is there any step-by-step advice I could ask for on how to insert this html code in the header or footer? Do I start from the published link to my survey when trying to edit the website?
Many thanks,
Hannah
Hello,
Thank you for these posts. I am trying to create an exit button but I am new to html. Is there any step-by-step advice I could ask for on how to insert this html code in the header or footer? Do I start from the published link to my survey when trying to edit the website?
Many thanks,
Hannah
Hello,
Is it possible to have this “EXIT” button only at the end of the Survey, and really leaving the page ?
It is now appearing also in the footer of the question.
When I click on “Exit” button, nothing is happening. I am not leaving the Survey.
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.