Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Multiple Short Text - Set Display rows for a field

  • arunicbe
  • arunicbe's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
6 years 9 months ago #155065 by arunicbe
I have a multiple short text question with five text boxes.

I need to set display rows value to 2 to the last text box. Other text boxes will be normal text boxes.

Now, if I set this value, all the text boxes appear with two lines.

Is this possible?
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 9 months ago #155071 by tpartner
As far as I know, that's not possible. The problem is that when you use any "Display rows" setting, it changes the input elements from <input type="text"> to <textarea> and you can enter multiple lines in textareas, despite the rows attribute. The rows attribute simply controls visual appearance of the element.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose