Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: How to add textbox in radio questions?

How to add textbox in radio questions? 5 years 9 months ago #57889

  • anlie
  • anlie's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
Do you know how to add textbox (for written comments) in the choices of radio questions?

e.g.:
Are you familiar with any term that describes the need for business to address environmental issues as well as providing economic benefits?
A. Yes, it is ___________________________
B. Not sure, but I think it could be __________________________
C. No

The underline part is for textbox. Thanks a lot!
The administrator has disabled public write access.

How to add textbox in radio questions? 5 years 9 months ago #57898

  • DenisChenu
  • DenisChenu's Avatar
  • Online
  • Moderator Lime
  • Posts: 9600
  • Thank you received: 1376
  • Karma: 390
Hello,

You can use Multiple options with comments and hide the input you don't want with some css in template.css
#answersurveyidXgidXqidsubquestioncodecomment{visibilty:hidden;}
You have to replace surveyid, gid, qid and subquestioncode by the good number and code.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (use private message).
The administrator has disabled public write access.
Time to create page: 0.226 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form