Welcome to the LimeSurvey Community Forum

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

Conditional subquestions

  • tomekusek
  • tomekusek's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 6 months ago #188941 by tomekusek
Conditional subquestions was created by tomekusek
I have 3 drop-down lists. Can you set the conditions so that after selecting the first item from the first list it will show x subsequent items from the second list. For example, the first list - AAA question, A1, A2, A3 subquestions .... The second list - BBB question, B1, B2, B3 subquestions .... If I choose from the first drop-down list (AAA) A1, then from the second drop-down list (BBB) I would like to see, for example, only subquestions B3 to B10. Can such conditions be assumed? How to do it?
The topic has been locked.
More
4 years 6 months ago #188953 by jelo
Replied by jelo on topic Conditional subquestions
Not available in LimeSurvey.
Relevance equations are only available on subquestions.
A dropdown question has only one answer, so technically there are no subquestions.
LimeSurvey is still lacking relevance equations in answers.

So you will need to find a workaround (perhaps via Javascript).

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: tomekusek
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 6 months ago #188974 by holch
Replied by holch on topic Conditional subquestions
I think Denis had a work around that might work for this, but as far as I remember it was only 2 dropdowns. I think it was something about the regions in France.
I think it is this one:
gitlab.com/SondagesPro/QuestionSettingsType/cpVille

Maybe you can have a look at it and adapt accordingly.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The following user(s) said Thank You: tomekusek
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 6 months ago #189005 by DenisChenu
Replied by DenisChenu on topic Conditional subquestions
My workaround is here :
gitlab.com/SondagesPro/QuestionSettingsT...sets/selectfilter.js

Ned to be updated and added as a question theme (or attribute)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: holch, tomekusek
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose