Show existing household members before adding new

Hi - I would like to add a new household member to a household. Using case
management I can select the household first then register a new member. But
I would like to show existing members in the household before choosing to
add a new member. Is there any way to do this?

Hi Rob,

This is possible, but only with custom XML at the moment. If you’re
interested in learning more and comfortable working with XML and XCode,
then please email me directly (wpride@dimagi.com) and I can go over some
options.

Best,
Will

··· On Mon, Aug 24, 2015 at 7:09 AM, Rob wrote:

Hi - I would like to add a new household member to a household. Using case
management I can select the household first then register a new member. But
I would like to show existing members in the household before choosing to
add a new member. Is there any way to do this?


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.

Got it! Thanks to help from Will Pride.

If this can be of use to anyone the workaround is to:

First set up a select type question at the beginning of the form.

Then add the following to the XML in the instance section

Then replace the items of the select with the following (in bold)

  • *

Where beneficiaries is a child case of the case I am editing (households).

  • Rob

see also:
https://confluence.dimagi.com/display/commcarepublic/Multiple+Choice+Questions+with+Cases+as+Choices