Add N households with N household members within them

Hi ODK Community,

I would like to add somewhat dynamic Households within the survey and some
household members within each of them, notice that these should be
available on a single form.

So ideally, the flow should go like this:

Enter Household Name (HH1).

Prompt: Add Household members within HH1 ? YES

If Yes -> *ADD: Household Member 1, Household Member 2, Household Member 3,
... *

Prompt: Add Household members within HH1 ? NO

Enter Household Name (HH2).

... Same process repeats as above.

The idea is not to create a static list of household names and the using a
repeat group add household members for each (since we don't know exact # of
households). Any input on how this can be implemented would be appreciated.

Thanks,

Regards,
Ayub

Ayub,

You might be able to do embedded dynamic repeats with jr:count. See
this thread https://groups.google.com/d/msg/opendatakit/6tm9gao_bV0/s88LqMM2qUIJ

Yaw

ยทยทยท On Thu, Oct 13, 2016 at 8:23 PM, Ayub wrote: > Hi ODK Community, > > I would like to add somewhat dynamic Households within the survey and some > household members within each of them, notice that these should be available > on a single form. > > So ideally, the flow should go like this: > > Enter Household Name (HH1). > > Prompt: Add Household members within HH1 ? YES > > If Yes -> ADD: Household Member 1, Household Member 2, Household Member 3, > ... > > Prompt: Add Household members within HH1 ? NO > > Enter Household Name (HH2). > > ... Same process repeats as above. > > The idea is not to create a static list of household names and the using a > repeat group add household members for each (since we don't know exact # of > households). Any input on how this can be implemented would be appreciated. > > Thanks, > > Regards, > Ayub > > -- > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "ODK Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to opendatakit+unsubscribe@googlegroups.com. > For more options, visit https://groups.google.com/d/optout.