How to add a query string for a survey question with multiple answers? | XM Community
Skip to main content

Hi all,
I want to pass some information from one survey to another using the workflow and embedded data. In the first survey, I have a multiple choice question with multiple answers(text set) are allowed. I want these answers to pass to a question in the second survey through a link. When I create a workflow to send an email for the link of second survey, I use the "insert piped text" option and add this query string into the link: ?IC=${q://QID12/SelectedChoicesRecode} However, I ran a test and it appeared like this in the sent mail: IC=1,3 so the link does not include the other response of the same question, therefore only the 1. response option appears in the second survey. I looked at the support page of qualtrics Query Strings but I could not figure out how to include the other response option. I would appreciate if you could help!

Does it have to be in a separate survey? If not, you can set the choices to be carried forward to another block.
I understand what you're trying to achieve and I would like to know the answer as well. But just thinking if carry forward-logic could solve your thing short term :)


I'm a bit confused, if it passed

IC=1,3
it passed two answers: recodes 1 and 3. The value of the embedded data field IC would be 1,3.
It also sounds like you want to pre-populate a question in the second survey with the same answers as the first survey. You should use the Q_PopulateResponse parameter to do that.


bbalik See this documentation: https://www.qualtrics.com/support/survey-platform/survey-module/survey-flow/standard-elements/passing-information-through-query-strings/#EmailLinks
If you are just typing in the URL and adding "?IC=..." after then the system is deciding where to stop your URL and the comma is breaking it. But doing step 7 fixed this when I tested and the ", 3" was included in the URL.
But in case that having the value "1, 3" still doesn't give you what you want, I'd look at what TomG mentioned about Q_PopulateResponse: https://www.qualtrics.com/support/survey-platform/survey-module/survey-flow/standard-elements/passing-information-through-query-strings/#HowToQ_PopulateResponse


Leave a Reply