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

TOPIC: Multiple inline dropdown selections

Multiple inline dropdown selections 5 years 6 months ago #59214

  • clairem
  • clairem's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
I'm new to limesurvey and I'm in the middle of designing my first survey. I'm generally fairly good with computers and I've used javascript before, but I'm struggling right now.

I need to create a question that has two inline dropdown lists, so it's like a "fill in the blanks" sentence with specific answers. I've posted the layout I want below. The labels for each dropdown should be identical

question text [dropdown] question text [dropdown] question text.

I've tried fiddling around with the source code and hunting through the workarounds, but I'm coming up empty right now. Any suggestions?
The administrator has disabled public write access.

Multiple inline dropdown selections 5 years 6 months ago #59236

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9415
  • Thank you received: 1352
  • Karma: 387
Its just an idea,

Add a Text display question with some <span id="foranswerSXGXQ"></span>.

Add the 2 question with the select box.

The select box are identified with SGQA S = survey, G = group, Q = Question.

For the example : survey 1 , group 1, question 1 and 2 (and add the 2 span according to the id)

Hide the question block with some css.
#questionQ1, #questionQ2 {position:absolute;top:-9999em;left:-9999em}

And the javascript
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
Last Edit: 5 years 6 months ago by DenisChenu.
The administrator has disabled public write access.
Time to create page: 0.363 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form