Form question that also contains a dropdown question | XM Community
Skip to main content

I have a demographic question and I want the state to be a 50 state drop down.  Can someone help me with this?

 

You might be interested in this.

If not, I think there are some previous Community posts on this subject.


Here is something I tried previously with a multiple-choice question type that has 10 test options and referencing some threads with Getting Started | Select2 - The jQuery replacement for select boxes

The tag portion in the JavaScript below is in case you wish to have survey takers enter something outside of the options available.

Qualtrics.SurveyEngine.addOnReady(function()
{
jQuery("#"+this.questionId+" select").select2({
width: 'resolve',
width: '50%',
tags: true});
});

I do not know JavaScript well, so I wouldn’t be able to help edit but I hope the example helps.


Leave a Reply