Display Condition for Multiple Choice options

Hi

I was wondering if its possible either via the Commcare Frontend, or via
the XML side of things, to have display conditions for the multiple choice
questions.

For example
Question 1: Please select your Province
1=Eastern Cape
2=Western Cape
3=Gauteng
etc

Question 2: Please specify your town
1=Cape Town
2=Johannesburg
3=East London
4=Port Elizabeth

Now essentially what I am trying to achieve is, if a user selects “Eastern
Cape” only East London and Port Elizabeth appears in the list, Westarn Cape
only Cape Town, and
Gauteng only Joburg.

I realise this could be achieved with multiple seperate questions, but this
seems a very long workaround for this scenario.

Does anybody have any solutions or ideas on how this scenario can be
achieved other than seperate questions?

Thanks
Matt

Hi Matthew,

This can be done but requires both hard-coded XML and lookup tables (an
advanced feature). See this page for more information:
https://help.commcarehq.org/pages/viewpage.action?pageId=12222793

thanks,
Cory

··· On Thu, Apr 3, 2014 at 9:30 AM, matthew deas wrote:

Hi

I was wondering if its possible either via the Commcare Frontend, or via
the XML side of things, to have display conditions for the multiple choice
questions.

For example
Question 1: Please select your Province
1=Eastern Cape
2=Western Cape
3=Gauteng
etc

Question 2: Please specify your town
1=Cape Town
2=Johannesburg
3=East London
4=Port Elizabeth

Now essentially what I am trying to achieve is, if a user selects “Eastern
Cape” only East London and Port Elizabeth appears in the list, Westarn Cape
only Cape Town, and
Gauteng only Joburg.

I realise this could be achieved with multiple seperate questions, but
this seems a very long workaround for this scenario.

Does anybody have any solutions or ideas on how this scenario can be
achieved other than seperate questions?

Thanks
Matt


You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.