In a select box, how do I show more than 10 items at once? | XM Community
Skip to main content
Question

In a select box, how do I show more than 10 items at once?

  • June 1, 2020
  • 1 reply
  • 6 views

c1ideagen.PNGcarryforward.PNGHi everyone,
I am creating a survey where I have participants list out ideas that come to mind. For a later question I want them to present them with the ideas they entered so they can refer to those ideas on this new question, but the box only shows up to 10 lines of text at a time. Is there a way to auto-adjust this box to show all of the items they entered at once? Or show at least 15 lines of text instead of 10?

1 reply

PraDeepKotian_XM
QPN Level 5 ●●●●●
Forum|alt.badge.img+21
  • QPN Level 5 ●●●●●
  • June 2, 2020

Hi sal3937

Try using the to add below code in select questions addOnload() javascript function.
var that = this.questionId;
jQuery("#"+that+" select").attr("size","15")