Welcome to the LimeSurvey Community Forum

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

select an answer based on what the user selected on the previous question

  • tboy
  • tboy's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 9 months ago #156389 by tboy
Hello!!
The situation is as follows
 I have three levels/questions connected to each other
 - NATION
 - SOCIETY'
 - USERS

 I have to make sure that the user selects the NATION from a drop down menu (no problem).
 Depending on the country to be chosen, in another drop down menu only the SOCIETY that are present in that country will have to be loaded ... obviously I have a sheet in which I mapped the nation-society association: the problem is I do not know how translate this thing with LimeSurvey

 I then have the last level: once the COMPANY is selected, in a third drop-down menu only the USERS of that specific company will appear. But once the previous point has been clarified, I would have to follow the same control logic. .

 The question is: can all this be done with controls/if conditions ? If yes, how? Do I have to act on the "Relevance Equation" field?
At the moment the only alternative I have is to create N drop-down menus with all possible combinations ... but there are really many.
Please help me !!

Thank you very much...
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 9 months ago #156393 by Joffm
Hi, tboy,

first I remember that there was something like this question in the last year here in the forum.

But, here is my advise. You know, single punch questions like drop-downs don't have relevance on answer option level.

So why not use three multi response questions?
Here you set the max answers to 1, and can choose the number of columns if there are really many options.

see attached sample.

This is easy, out of the box.

All the best
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
More
6 years 9 months ago #156397 by Ben_V

Joffm wrote: first I remember that there was something like this question in the last year here in the forum.


Hi,

Maybe this one:
www.limesurvey.org/community/forums/can-...vious-answers/151273

Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The topic has been locked.
  • tboy
  • tboy's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 9 months ago #156422 by tboy
Hi,
I've followed your previous suggestion downloading the source file of this great example
s465379752.mialojamiento.es/LSTWIN/206/i...php/419299/newtest/Y

I've put the directory in /templates, chowned to apache, and created new survey using the .lss file.
I don't know/understand how to apply the .js script, only to see how it wprks and try to apply on my survey..
The topic has been locked.
More
6 years 9 months ago #156424 by Ben_V
This should work "as this" with the (previous) 2.06 /2.6 lts version... but if you are using the last release this may require some adaptation even if I don't know exactly where :(

Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose