Javascript to make a button event (clicked) to set the survey completion rate to 100% | XM Community
Skip to main content

Dear Community,
At the end of the survey, I made a confirmation button for the users that they have filled out the survey, and then two more thank you pages. I want users to look at these last two pages, but at the same time I want their survey to be counted as completed even if they don't look at these two last pages and leave. The logic that I want to implement is simple: click on the confirmation button -> survey is set to 100% completion, regardless of whether all pages have been viewed or not. 
I would like to ask if anyone has seen a Javascript code that would have changed the status of the survey to "completed".
Thank you in advance!
Best Regards,
Yesin

Since the completion rate is calculated internally by the qualtrics, we cannot create those two last pages as qualtrics question (assuming the two last pages are just descriptive text)
So, in this case, we need to create custom End of survey message in message library. Create the first message with fake next button, and on click of this button hide the next button and first message, and show the second message only.


Leave a Reply