Redirect from survey 1 to Survey 2 and back to a specific block of survey 1 | XM Community
Skip to main content

I am wondering a solution to redirect from survey 1 to survey 2 and come back to survey 1 again.

 

  1. I can redirect from survey 1 to survey 2 through customizing “end of Survey” element.
  2. But I want to come back from Survey 2 to survey 1 again (on a specific block) to answer few remaining questions, please help how we can do this.

    Thank you in advacne.

Hello @MadhurSingh,

In Survey 2, use the ‘End of Survey’ element to redirect back to Survey 1. To direct respondents to a specific block in Survey 1, use query strings and embedded data.

  • Add embedded data in the survey flow of Survey 1 to track if a respondent was redirected from Survey 2.
  • Add your remaining questions in a differnet block and create branch logic in Survey 1 based on this embedded data to direct respondents to this block.
  • In the ‘End of Survey’ element of Survey 2, include a query string in the link to Survey 1 to set the embedded data.

This will trigger the branch logic when respondents return to Survey 1.

Let me know if this helps.

 


Thank you so much for your Quick Response, Its working for me.


Thank you so much for your Quick Response, Its working for me.

You're welcome! I'm glad to hear it's working for you.


@MadhurSingh asked me to reply to this thread.  The accepted answer will create two separate responses to Survey 1, which doesn’t address the need. The way to accomplish it is kind of complicated. I’ve done it with other platforms, but not with another Qualtrics survey. 

Here is an overview of how to do it. First turn on ‘Save and continue’. Use a text/graphic question on it’s own page as the place to exit and reenter the survey (survey 1). Using JS, do an ajax call to determine if the respondent has completed survey 2 (see next paragraph). If they have completed click the next button. If they have not completed, hide the next button and create a fake next button that redirects them to the other survey with parameters for the response id and the survey url (encoded). The JS can also change the question text as the status warrants. Upon completion of survey 2, redirect back to survey 1 using the url that was passed. 

You’ll need a web service for the ajax call to determine if survey 2 is complete. I would add a web service call to the end of survey 2 to record the survey 1 response id in a database table. Then the ajax call can check if the response id is in the table . For speed and security reasons, I would NOT use Qualtrics APIs for the ajax part.


I’m pretty sure this would also work without the JS and the extra response in Survey 1.

In survey 2, the exit survey redirect could be a retake/replace link to the Survey 1 response. You would have to send the response ID of survey 1 to survey 2 to build the retake link in the exit survey. This will result in one response per survey. You can set an embedded data in survey 1 after they have come back from survey 2 so you can know they are done with the process.

 

Since you are retaking, your billing might be still hit for two responses to survey 1.


Leave a Reply