Welcome to the LimeSurvey Community Forum

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

TextArea with "Option Other" instead of Text

  • w0928
  • w0928's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 6 months ago #111854 by w0928
Is this possible or do I have to change the backend/source code to achieve it? Has anyone pulled this off? If so, how'd you do it?
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 6 months ago #111855 by tpartner
Replied by tpartner on topic TextArea with "Option Other" instead of Text
Can you give more details on what you are trying to achieve?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • w0928
  • w0928's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 6 months ago #111856 by w0928
When the user checks the box for "other" in a multiple choice question I would like to show them a textarea instead of a text box so that they can enter more than 1 line and they can see more than 1 line. By default LimeSurvey provides a single line text box.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 6 months ago #111857 by tpartner
Replied by tpartner on topic TextArea with "Option Other" instead of Text
The easiest solution would be to not use the built-in "Other" feature but add your own "Other" option. You could then add a following long-text question shown conditionally on "Other" being checked.


.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • w0928
  • w0928's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 6 months ago - 9 years 6 months ago #111858 by w0928
That's what I'm doing now, but I don't like having the separate questions. I really don't care about the difficulty it takes to achieve this, I just want to achieve it. You wouldn't happen to know what part the source code I would need to modify to place a textarea on the screen instead of a textbox, would you?
Last edit: 9 years 6 months ago by w0928.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 6 months ago #111861 by tpartner
Replied by tpartner on topic TextArea with "Option Other" instead of Text
Sorry, I can't help with hacking the source code to that degree.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 6 months ago #111887 by DenisChenu
Replied by DenisChenu on topic TextArea with "Option Other" instead of Text
qanda_helper.php maybe , but like Tony : I don't help ob forum for PHP devlopper. But i offer professionnal service if you want .... ;)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose