Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: State/County/City relationship

State/County/City relationship 3 years 8 months ago #94537

  • moisha
  • moisha's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
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 8 months ago by moisha.
The administrator has disabled public write access.

State/County/City relationship 3 years 8 months ago #94538

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5445
  • Thank you received: 814
  • Karma: 240
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 | [url=https://manual.limesurvey.org/Workarounds[/url]

If you found this answer helpful and it saved you some time please consider a [url=https://donate.limesurvey.org[/url] to the...
The administrator has disabled public write access.
The following user(s) said Thank You: moisha

State/County/City relationship 3 years 8 months ago #94542

  • moisha
  • moisha's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
can you please point me to the area in help that explains how to do it?

thanks in advance!
The administrator has disabled public write access.

State/County/City relationship 3 years 8 months ago #94543

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5445
  • Thank you received: 814
  • Karma: 240
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 | [url=https://manual.limesurvey.org/Workarounds[/url]

If you found this answer helpful and it saved you some time please consider a [url=https://donate.limesurvey.org[/url] to the...
Last Edit: 3 years 8 months ago by holch.
The administrator has disabled public write access.
Time to create page: 0.773 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form