- Posts: 9
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Conditions for dropdown options
- G0udappel
- Topic Author
- Offline
- New Member
Less
More
3 years 1 month ago - 3 years 1 month ago #212519
by G0udappel
Conditions for dropdown options was created by G0udappel
Hi all,
I have a question regarding conditions for dropdown options. In my set-up I repeat 2 questions multiple times, only unique combinations of options may be answered.
I would like to visualize this by letting options in the second question not reappear.
For example:
Question 1 has option 1, option 2 and option 3
Question 2 has option 1, option 2 and option 3.
These two questions are repeated several times.
Round 1: Respondent answers Q1 with opt1 and Q2 with opt2.
Round 2: Respondent should now be able to:
answer Q1 with opt 1 and Q2 with opt1 or opt 3. or
answer Q1 with op2 or opt3 and Q2 with opt1, opt2, or opt.3
In my survey there will be far more options than in the given example.
I have included a file, in which I have added the script from this forum post. forums.limesurvey.org/forum/can-i-do-thi...dropdown-menu-values
It perfectly works for removing options from drop down questions. But now I'm hoping it can be altered to fix my problem...
I have a question regarding conditions for dropdown options. In my set-up I repeat 2 questions multiple times, only unique combinations of options may be answered.
I would like to visualize this by letting options in the second question not reappear.
For example:
Question 1 has option 1, option 2 and option 3
Question 2 has option 1, option 2 and option 3.
These two questions are repeated several times.
Round 1: Respondent answers Q1 with opt1 and Q2 with opt2.
Round 2: Respondent should now be able to:
answer Q1 with opt 1 and Q2 with opt1 or opt 3. or
answer Q1 with op2 or opt3 and Q2 with opt1, opt2, or opt.3
In my survey there will be far more options than in the given example.
I have included a file, in which I have added the script from this forum post. forums.limesurvey.org/forum/can-i-do-thi...dropdown-menu-values
It perfectly works for removing options from drop down questions. But now I'm hoping it can be altered to fix my problem...
Last edit: 3 years 1 month ago by G0udappel.
The topic has been locked.
- G0udappel
- Topic Author
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
3 years 1 month ago #212554
by G0udappel
Replied by G0udappel on topic Conditions for dropdown options
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10634
- Thank you received: 3698
3 years 1 month ago #212561
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Conditions for dropdown options
This will take a fair amount of development. You will need to clone the select elements so you can dynamically reset them if answers are changed.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- G0udappel
- Topic Author
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
3 years 1 month ago #212576
by G0udappel
Replied by G0udappel on topic Conditions for dropdown options
Could you please elaborate somewhat?
The topic has been locked.
- G0udappel
- Topic Author
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
3 years 1 month ago #212589
by G0udappel
Replied by G0udappel on topic Conditions for dropdown options
I did something which might be in the way of what you have in mind.
Please see:
Please see:
The topic has been locked.