How to add an additional option of a text entry question in Qualtrics? | XM Community
Solved

How to add an additional option of a text entry question in Qualtrics?

  • 25 March 2019
  • 5 replies
  • 117 views

Hi everyone,

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

!

I appreciate for all your help!
icon

Best answer by TomG 25 March 2019, 16:08

View original

5 replies

Userlevel 7
Badge +27
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!!
Userlevel 7
Badge +27
> @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!
Badge

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