Now, I’m calling this “tricky” because i haven’t figured it out yet and was hoping some guru would be able to help me out.
First: The scenario ->
A: I have a registration form for a case type “Family”
B: inside the registration form for Family, i have a repeat group with 3 questions to record family members for example. let’s assume i’m asking for name, age, and gender. These are also used to create child cases of the type “Individual” or “family_member”
C: after the repeat is finished, a few questions later, i ask a question “Which family member is the head of household” for example
D: I would like to see the list of family members in a single-select multiple choice.
I am well aware that we can use the child cases as a multiple-choice lookup table. but, for that to work, i’d need this form to be closed before the parent and child cases are created and then can appear in a lookup
So, the easy fix is to close the registration form and do a second followup form. But, i have a feeling the some of the users are going to turn around and ask if we could have it in the same form without having to navigate somewhere else.
Any ideas? I thought of reconstructing whatever format the multiple-choice lookup likes, but i found out that it likes XML and it seems a little overkill to construct an XML string to feed it when i don’t even know if it would work.