Welcome to the LimeSurvey Community Forum

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

Exclude choice from Dropdown list

More
9 years 1 month ago #139056 by sloaner
I have searched and tried everything that I googled to no avail... I have two question groups about Teachers, both have a ddl where the students can select a teacher. I want to exclude the selected teacher of the first ddl from displaying in the second ddl.

I would also consider doing some sort of validation that wouldn't allow the same teacher to be selected in both ddl.

TIA
The topic has been locked.
More
9 years 1 month ago #139058 by tpartner
There is no filtering, answer relevance or question validation for list (dropdown) questions, so the simplest solution would be to use multiple-choice questions with "Maximum answers" set to 1. Then you can use filtering and/or relevance and/or validation.

If that's not acceptable, you will need to use custom JavaScript to filter Q2 - the details of that script would depend on your survey set-up.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose