Multi select question with dropdown | Experience Community
Skip to main content
Solved

Multi select question with dropdown

  • April 28, 2026
  • 7 replies
  • 55 views

PeeyushBansal
Level 7 ●●●●●●●
Forum|alt.badge.img+50

How can we create a multi select option in drop down list ? I have a question where user have to select 3 answers from the dropdown list. As the list is big, I can not display all answers after question text.

Best answer by TomG

Use select2.

  1. Create a multi-select, multiple choice question in Select Box format.
  2. Add select2 to the survey header:
    <link href="https://cdn.jsdelivr.net/npm/select2@4.0.13/dist/css/select2.min.css" rel="stylesheet" /><script src="https://cdn.jsdelivr.net/npm/select2@4.0.13/dist/js/select2.min.js"></script>
  3. Add CSS to custom CSS (adjust font to match your theme):
    .select2-container, .select2-selection, .select2-search__field { 
    font-family: "Helvetica Neue",Arial,sans-serif;
    font-size:18px;
    }
  4. Add JS to question created in (1) above.
    Qualtrics.SurveyEngine.addOnload(function() {
    jQuery("#"+this.questionId).find('select:first').select2({
    allowClear: true
    , placeholder: 'Pick three...'
    , width: '100%'
    , maximumSelectionLength: 3
    });
    });

     

7 replies

vgayraud
QPN Level 7 ●●●●●●●
Forum|alt.badge.img+64
  • QPN Level 7 ●●●●●●●
  • April 28, 2026

Hi,

I’ve used selectize to transform a MCMA question in select box format to achieve this in the past, using ED fields to store answers.

 


PeeyushBansal
Level 7 ●●●●●●●
Forum|alt.badge.img+50
  • Author
  • Level 7 ●●●●●●●
  • April 28, 2026

can you please share the code so I can implement same?


kgillis
Level 6 ●●●●●●
Forum|alt.badge.img+32
  • Level 6 ●●●●●●
  • April 28, 2026

@PeeyushBansal  you can avoid code altogether by selecting multiple choice question type “select box” 


You then have to change it to allow multiple answers and then I added the “*” statement to my question to help respondents figure out how to multi select. OR rather than select box you can just you a list and place it into multiple columns so that it doesn’t require as much scrolling.


kgillis
Level 6 ●●●●●●
Forum|alt.badge.img+32
  • Level 6 ●●●●●●
  • April 28, 2026

I did post this (for a different survey and different question) as I had over 100 choices to select from and I wanted users to dynamically narrow them down and multi select. This proposal didn’t work for me but maybe it could be of help to you.


PeeyushBansal
Level 7 ●●●●●●●
Forum|alt.badge.img+50
  • Author
  • Level 7 ●●●●●●●
  • April 30, 2026

@kgillis thanks for sharing, my stakeholder is looking to have drop down with multiple selections :(

@TomG ​@Tom  do you have any suggestion on this?


TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Answer
  • April 30, 2026

Use select2.

  1. Create a multi-select, multiple choice question in Select Box format.
  2. Add select2 to the survey header:
    <link href="https://cdn.jsdelivr.net/npm/select2@4.0.13/dist/css/select2.min.css" rel="stylesheet" /><script src="https://cdn.jsdelivr.net/npm/select2@4.0.13/dist/js/select2.min.js"></script>
  3. Add CSS to custom CSS (adjust font to match your theme):
    .select2-container, .select2-selection, .select2-search__field { 
    font-family: "Helvetica Neue",Arial,sans-serif;
    font-size:18px;
    }
  4. Add JS to question created in (1) above.
    Qualtrics.SurveyEngine.addOnload(function() {
    jQuery("#"+this.questionId).find('select:first').select2({
    allowClear: true
    , placeholder: 'Pick three...'
    , width: '100%'
    , maximumSelectionLength: 3
    });
    });

     


PeeyushBansal
Level 7 ●●●●●●●
Forum|alt.badge.img+50
  • Author
  • Level 7 ●●●●●●●
  • April 30, 2026

Thanks ​@TomG , this works PERFECT!! Thanks again.