Pass answers in URL | XM Community
Skip to main content
Solved

Pass answers in URL

  • October 10, 2024
  • 5 replies
  • 51 views

Forum|alt.badge.img+2

Is there a way to pass answers to a survey using the URL and they can be edited by the respondent if they wish to change them?

 

Something like https://xxx.qualtrics.com/jfe/form/SV_111?Q1=yellow

Where the answer to Q1 is yellow?

Best answer by Shashi

Please check this.

5 replies

Shashi
Level 8 ●●●●●●●●
Forum|alt.badge.img+34
  • Level 8 ●●●●●●●●
  • Answer
  • October 10, 2024

Please check this.


Forum|alt.badge.img+2
  • Author
  • Level 1 ●
  • October 14, 2024

Thank you. Could you help a little further? Below works but how do you know the ID of the question is QID1? I downloaded a CSV file and the metadata for the question was {"ImportId":"QID1_TEXT"}. What is the recommended way of identifying the ID of the question for use in the query string?

 

?Q_PopulateResponse={%22QID1%22:%22hello%22}"

 

 


Shashi
Level 8 ●●●●●●●●
Forum|alt.badge.img+34
  • Level 8 ●●●●●●●●
  • October 14, 2024

Thank you. Could you help a little further? Below works but how do you know the ID of the question is QID1? I downloaded a CSV file and the metadata for the question was {"ImportId":"QID1_TEXT"}. What is the recommended way of identifying the ID of the question for use in the query string?

 

?Q_PopulateResponse={%22QID1%22:%22hello%22}"

 

 

Question ID is anything before ‘_’.


Forum|alt.badge.img+2
  • Author
  • Level 1 ●
  • October 14, 2024

Thanks but I have other questions like {"ImportId":"QID1213591766#1_1_1"} and {"ImportId":"QID1213591951_FILE_NAME"} or {"ImportId":"QID392_1_1"}. Is it remove_TEXT for text entry questions and all other questions just use exactly what it says in the ImportId? 


Shashi
Level 8 ●●●●●●●●
Forum|alt.badge.img+34
  • Level 8 ●●●●●●●●
  • October 14, 2024

Thanks but I have other questions like {"ImportId":"QID1213591766#1_1_1"} and {"ImportId":"QID1213591951_FILE_NAME"} or {"ImportId":"QID392_1_1"}. Is it remove_TEXT for text entry questions and all other questions just use exactly what it says in the ImportId? 

No, the rule of removing everything after ‘_’ to get question Id implies to all question.