Custom answers based on a previous question

Hi! - I am quite new to commcare and I am having some difficulty with a
particular problem that I am sure will be obvious once I know how to solve
it.
I am doing a survey for health facilities and one of the first questions is
’which district is the facility in?’ directly followed by ‘name of
facility’.
What I want to be able to do it tailor the list of facility names by which
district a user chooses.

any help would be appreciated!

HI Laura,

I suggest adding a display condition to the facility so that it will only
display that option if a certain district is selected. for example if the
user selects district X the display condition for facility Y would look
something like this; selected(data/district,‘data/facility’). Start of by
building an IF function using the simple expression builder, and then
complete the logic in the advanced expression builder to look like the
above expression.

Hope this helps!

Kind regards,
Ameera

··· On Thursday, 13 February 2014 00:55:55 UTC+2, Laura Matthews wrote: > > Hi! - I am quite new to commcare and I am having some difficulty with a > particular problem that I am sure will be obvious once I know how to solve > it. > I am doing a survey for health facilities and one of the first questions > is 'which district is the facility in?' directly followed by 'name of > facility'. > What I want to be able to do it tailor the list of facility names by which > district a user chooses. > > any help would be appreciated! > > >