Question text and drop list in the same line | Experience Community
Skip to main content
Solved

Question text and drop list in the same line

  • Oct 22, 2024 8:20 AM UTC
  • 1 reply
  • 85 views

Dhananjayan Palaniswamy
Level 2 ●●
Forum|alt.badge.img+3

How can I bring the drop list in the same line as question text?

 

Best answer by Shashi

One of the easiest way is to use matrix question with drop down and hide question text. OR we can use below script in muti choice drop down question to make both in same line:

jQuery("#"+this.questionId+" fieldset").css({"display":"flex","align-items":"center"});
jQuery("#"+this.questionId+" legend").css({"display":"contents"});

 

View original

1 reply

Shashi
Level 8 ●●●●●●●●
Forum|alt.badge.img+34
  • Level 8 ●●●●●●●●
  • Answer
  • Oct 23, 2024 6:58 AM UTC

One of the easiest way is to use matrix question with drop down and hide question text. OR we can use below script in muti choice drop down question to make both in same line:

jQuery("#"+this.questionId+" fieldset").css({"display":"flex","align-items":"center"});
jQuery("#"+this.questionId+" legend").css({"display":"contents"});