How to add an additional option of a text entry question in Qualtrics? | XM Community
Skip to main content
Hi everyone,



I wondered how to add an option to a text entry question in Qualtrics.



!



I appreciate for all your help!
Use a multiple answer multiple choice question with two choices and add "Allow text entry" to the first choice. Add some JavaScript to hide the label of the first choice.
Thanks Tom! This is my first time using JS, and I wondered how to hide the label of the first choice... Thanks again!!
> @Curney said:

> Thanks Tom! This is my first time using JS, and I wondered how to hide the label of the first choice... Thanks again!!

```

Qualtrics.SurveyEngine.addOnload(function() {

jQuery("#"+this.questionId+" .InputText").prevAll("label").hide();

});

```

Make the N/A choice exclusive.
That works perfectly!! Thank you for your great help!

Hi Tom,
thanks for the code. But he is just working for the small text field. If I change the text field size to middle or big it doesn't work.
Maybe you could tell me how to change the code, so he works for a "middle-sized" text field.
Thank you for your help!


Leave a Reply