Linking responses from one question to limit responses on another using select2 | XM Community
Skip to main content

I am trying to create a two question survey that allows respondents to select a school district using select 2, and then *based on their district* limit the options available for the second question of schools nested within the selected school district. I have created a json file from a .csv that includes districts in one column, and schools in the next. I am unsure how to implement in qualtrics.

The json file is here: https://raw.githubusercontent.com/sammcq/sbha/main/Schools%20and%20Districts2.json

mcquills not sure if you can get the json you wrote into a .csv file. But if you can get these set up as columns, then you can use the drill down question type.
https://www.qualtrics.com/support/survey-platform/survey-module/editing-questions/question-types-guide/specialty-questions/drill-down/


Yes, it was actually originally in a .csv file format like that. The only problem is that I have around 1500 schools to pick from, so I'm hoping to use select2 to add a searchable function. Do you have any idea if select2 would be compatible with that type of question?


https://community.qualtrics.com/XMcommunity/discussion/comment/48943#Comment_48943You can add select2 to drill down selects. It would be something like this:
Qualtrics.SurveyEngine.addOnload(function() {
jQuery("#"+this.questionId+" select").select2({dropdownAutoWidth:true,width:'100%'});
});


Leave a Reply