Welcome, Guest
Username: Password: Remember me

TOPIC: TextArea with "Option Other" instead of Text

TextArea with "Option Other" instead of Text 2 months 4 weeks ago #111854

  • w0928
  • w0928's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 33
  • Thank you received: 3
  • Karma: 1
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 administrator has disabled public write access.

TextArea with "Option Other" instead of Text 2 months 4 weeks ago #111855

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4360
  • Thank you received: 827
  • Karma: 381
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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

TextArea with "Option Other" instead of Text 2 months 4 weeks ago #111856

  • w0928
  • w0928's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 33
  • Thank you received: 3
  • Karma: 1
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 administrator has disabled public write access.

TextArea with "Option Other" instead of Text 2 months 4 weeks ago #111857

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4360
  • Thank you received: 827
  • Karma: 381
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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

TextArea with "Option Other" instead of Text 2 months 4 weeks ago #111858

  • w0928
  • w0928's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 33
  • Thank you received: 3
  • Karma: 1
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: 2 months 4 weeks ago by w0928.
The administrator has disabled public write access.

TextArea with "Option Other" instead of Text 2 months 4 weeks ago #111861

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4360
  • Thank you received: 827
  • Karma: 381
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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

TextArea with "Option Other" instead of Text 2 months 4 weeks ago #111887

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6551
  • Thank you received: 869
  • Karma: 257
qanda_helper.php maybe , but like Tony : I don't help ob forum for PHP devlopper. But i offer professionnal service if you want .... ;)
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.110 seconds
Donation Image