Text entry box in a multi-choice question - is it possible to have this beside instead of below? | XM Community
Solved

Text entry box in a multi-choice question - is it possible to have this beside instead of below?

  • 18 March 2020
  • 3 replies
  • 50 views

Userlevel 1
I have a multi-choice question with the last option being "Other (please specify)." The text box appears below this text. Is it possible to have the text entry box beside the text instead of below?
icon

Best answer by rondev 18 March 2020, 12:50

View original

3 replies

Userlevel 7
Badge +22
Use below code:

jQuery("#"+this.questionId+" .TextEntryBox").each(function() {
var tb = jQuery(this);
tb.css({"float":"none","background-color":"white","width":"50%"});
tb.prev("label").css("display","block").append(" ").append(tb);
});
Badge

This worked for me - thank you for posting!

Userlevel 4
Badge +8

@rondev Thanks for the solution you provided. It worked well for both single and multiple answer multiple choice question types. I found it better than other Qualtrics solutions, especially with its easy-to-use text box feature.  One notable advantage is that when you select the text box, the background remains white, making it easy for users to type in. 

Leave a Reply