Text box entry beside multiple choice response instead of below | Experience Community
Skip to main content
Question

Text box entry beside multiple choice response instead of below

  • Jul 3, 2025 6:09 PM UTC
  • 2 replies
  • 112 views

Forum|alt.badge.img+1

Hi there,

 

I have tried code from some similar questions on here but none are working. I would like the text box to be beside “email:” instead of below. QID is #QID101.

 

I am pulling emails from a contact list so that is why the text box is populated. 

 

Thanks in advance!

2 replies

Tom_1842
Level 8 ●●●●●●●●
Forum|alt.badge.img+28
  • Level 8 ●●●●●●●●
  • Jul 3, 2025 9:35 PM UTC

Looks like you might be using Flat layout. rondev's code from this post is working on my end to do this. Try adding the below to the question's JavaScript:

Qualtrics.SurveyEngine.addOnReady(function()
{
/*Place your JavaScript here to run when the page is fully displayed*/

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);
});

});

Or, The New Survey Taking Experience does this by default.

 


Forum|alt.badge.img+1
  • Author
  • Level 1 ●
  • Jul 8, 2025 12:46 AM UTC

Thank you! This worked now. I had other code that was overriding this code.