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 5 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 5 months ago #57898

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9305
  • Thank you received: 1330
  • Karma: 386
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 developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.181 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form