How to use repeat group field in choices list

Hi,

I have a form with repeat group collecting name and age of household
members. Later in the form I want to use the household members in
select_one or select_multiple choices list. Could anyone help me how can I
do that in XLS form.

Thanks,
Majid

I already answered this in a previous message, but just to help
someone who stumbles on this thread,
https://groups.google.com/d/msg/opendatakit/-PGMHWgnsiQ/2NAB6BvyAAAJ

Yaw

··· On Thu, May 18, 2017 at 10:23 AM, Majid Khan wrote: > Hi, > > I have a form with repeat group collecting name and age of household > members. Later in the form I want to use the household members in select_one > or select_multiple choices list. Could anyone help me how can I do that in > XLS form. > > Thanks, > Majid > > -- > -- > 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.

Thanks for you response, I have already achieve with a bit similar approach
but using filter to restrict choices. But with that I have to define the
maximum members in household. I am looking far simpler approach to create
dynamic list using the fields of repeat group.

Thanks,

··· On Saturday, 20 May 2017 02:29:27 UTC+5, Yaw Anokwa wrote: > > I already answered this in a previous message, but just to help > someone who stumbles on this thread, > https://groups.google.com/d/msg/opendatakit/-PGMHWgnsiQ/2NAB6BvyAAAJ > > Yaw > > On Thu, May 18, 2017 at 10:23 AM, Majid Khan <mk.s...@gmail.com > wrote: > > Hi, > > > > I have a form with repeat group collecting name and age of household > > members. Later in the form I want to use the household members in > select_one > > or select_multiple choices list. Could anyone help me how can I do that > in > > XLS form. > > > > Thanks, > > Majid > > > > -- > > -- > > Post: opend...@googlegroups.com > > Unsubscribe: opendatakit...@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...@googlegroups.com . > > For more options, visit https://groups.google.com/d/optout. >

Hi Majid,

The approach I pointed to is as simple as I can think of.

https://opendatakit.github.io/xforms-spec/ has the primitives the form
specification supports. If you can think of other primitives that
would enable a simpler approach, please file a feature request at
https://github.com/opendatakit/xforms-spec/issues/new.

Thanks,

Yaw

··· On Sat, May 20, 2017 at 3:10 AM, Majid Khan wrote: > Thanks for you response, I have already achieve with a bit similar approach > but using filter to restrict choices. But with that I have to define the > maximum members in household. I am looking far simpler approach to create > dynamic list using the fields of repeat group. > > Thanks, > > On Saturday, 20 May 2017 02:29:27 UTC+5, Yaw Anokwa wrote: >> >> I already answered this in a previous message, but just to help >> someone who stumbles on this thread, >> https://groups.google.com/d/msg/opendatakit/-PGMHWgnsiQ/2NAB6BvyAAAJ >> >> Yaw >> >> On Thu, May 18, 2017 at 10:23 AM, Majid Khan wrote: >> > Hi, >> > >> > I have a form with repeat group collecting name and age of household >> > members. Later in the form I want to use the household members in >> > select_one >> > or select_multiple choices list. Could anyone help me how can I do that >> > in >> > XLS form. >> > >> > Thanks, >> > Majid >> > >> > -- >> > -- >> > Post: opend...@googlegroups.com >> > Unsubscribe: opendatakit...@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...@googlegroups.com. >> > For more options, visit https://groups.google.com/d/optout. > > -- > -- > 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.