Check out the LimeSurvey source code on GitHub!

State/County/City relationship

More
3 years 9 months ago - 3 years 9 months ago #94537 by moisha
I was sure this was done before, but I cannot find it... :( I need to be able to have user pick county from the list of the counties in each state. Where can I find it?
Last Edit: 3 years 9 months ago by moisha.

Please Log in to join the conversation.

More
3 years 9 months ago #94538 by holch
You probably will have to create a question per state with the respective counties. You can use a question for the state to filter this via conditions (only show the question for the state chosen in the state question).

Maybe there is a more elegant way with Expression Manager.

Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Workarounds
The following user(s) said Thank You: moisha

Please Log in to join the conversation.

More
3 years 9 months ago #94542 by moisha
can you please point me to the area in help that explains how to do it?

thanks in advance!

Please Log in to join the conversation.

More
3 years 9 months ago - 3 years 9 months ago #94543 by holch
This specific case won't be discussed in the manual, I am quite sure.

You will have to built a question, where the respondent can choose one state. Then for each state you will have to built for each state one question with all the counties of this state to choose.

Then via conditions you will only show the question, when the right state is chosen. So if in the first question "California" was chosen, you will hide all "county"-questions from other states exept for California.

Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Workarounds
Last Edit: 3 years 9 months ago by holch.

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form