Display specific entries in drop down option in survey based on previous answer | XM Community
Question

Display specific entries in drop down option in survey based on previous answer

  • 30 May 2023
  • 1 reply
  • 170 views

Badge +1

I have a survey where a user is asked to select the country in Q1 and based on the selection of answers they receive another set of questions. Then in Q5 user is asked the country again and based on this selection user has to select locations from another drop down of the same question ( country and locations are mapped here). My requirement is can we populate the locations based on the answer in Q1. Users want to avoid selecting the country twice and they want pre filled answers in drop down of Q5 based on the selection of Q1.


1 reply

Userlevel 7
Badge +61

Good afternoon from a sunny Sweden!

Not really sure why you have it on two different question, but you can set the “Default choices” on the last dropdown and pipe in the selected choice from the first question with something like this: ${q://QID40/ChoiceGroup/SelectedChoices}

 

For the Locations you’d need to use display logic and/or blocks to contain the Locations. 

 

All the best

-Mattias

Leave a Reply