Choices that depend on an earlier answer are set in the Survey Builder, on the later question.
Set it up
- Add the earlier question first, for example Which county?, as a single or multiple choice question.
- Add the later question, for example Which sub-county?, and list every choice it could offer.
- In its settings, under Offer only the answers that belong to, choose the earlier question.
- Beside each choice, pick the earlier answer it belongs to.
A choice that belongs to no earlier answer is never offered while the filter is on.
What the respondent sees
The later question shows only the choices that belong to the earlier answer. If the earlier question allowed several answers, the choices of every one of them are offered. If the earlier answer has no choices that belong to it, the later question is skipped.
The rule is the same everywhere. It applies on the web link, by text message and USSD, on a voice call, in the interviewer app, in data entry and without a connection. An interview that arrives with a choice from outside the list is refused, so the data never holds a sub-county from the wrong county.
From an XLSForm
A choice_filter written as county=${county}, or selected(${county}, county) after a multiple choice question, comes across on import. The column it names on the choices sheet says which earlier answer each choice belongs to. A filter written any other way is listed with its row number, and the question offers every choice.