Call on or output value of elements within a repeat

Is there any way to call or output the values from the child nodes within a
repeat (either now or coming in 1.1.7)? I have read through the boards, and
it does not seem like there is any simple way to auto-increment or call an
element within a repeat without developing new classes... for example, if
I have a loop to collect all individuals within a household, is there anyway
to call on the specific individuals within that household from outside the
repeat... or can I at least output all the individuals names with something
like , even in the
repeat? Thanks!

javarosa has some of these capabilities. i'm not sure if they've made it
into the latest version of ODK.

for example, i believe you can do:

to print a comma-separated list of all children, from outside the repeat.

you can also refer to data inside the repeat (as well as the current repeat
index and total # of repetitions) for repetition headers and captions.
generally, though, you cannot refer to a specific repetition within a group
('#2 of 5' or 'the child whose name is carl'). you can only refer to the
repetition you're currently inside, or all repetitions in aggregate (like
with the comma-separated list example above).

··· On Fri, May 13, 2011 at 10:04 AM, louis wrote:

Is there any way to call or output the values from the child nodes within a
repeat (either now or coming in 1.1.7)? I have read through the boards, and
it does not seem like there is any simple way to auto-increment or call an
element within a repeat without developing new classes... for example, if
I have a loop to collect all individuals within a household, is there anyway
to call on the specific individuals within that household from outside the
repeat... or can I at least output all the individuals names with something
like , even in the
repeat? Thanks!

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

this will all be in the 1.1.7 release (which is still on track for a
mid may beta)

··· On Fri, May 13, 2011 at 07:35, Drew Roos wrote: > javarosa has some of these capabilities. i'm not sure if they've made it > into the latest version of ODK. > > for example, i believe you can do: > > > > to print a comma-separated list of all children, from outside the repeat. > > you can also refer to data inside the repeat (as well as the current repeat > index and total # of repetitions) for repetition headers and captions. > generally, though, you cannot refer to a specific repetition within a group > ('#2 of 5' or 'the child whose name is carl'). you can only refer to the > repetition you're currently inside, or all repetitions in aggregate (like > with the comma-separated list example above). > > > On Fri, May 13, 2011 at 10:04 AM, louis wrote: >> >> Is there any way to call or output the values from the child nodes within >> a repeat (either now or coming in 1.1.7)? I have read through the boards, >> and it does not seem like there is any simple way to auto-increment or call >> an element within a repeat without developing new classes... for example, >> if I have a loop to collect all individuals within a household, is there >> anyway to call on the specific individuals within that household from >> outside the repeat... or can I at least output all the individuals names >> with something like , even >> in the repeat? Thanks! >> >> -- >> Post: opendatakit@googlegroups.com >> Unsubscribe: opendatakit+unsubscribe@googlegroups.com >> Options: http://groups.google.com/group/opendatakit?hl=en > > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en >

great, thanks so much! I look forward to seeing 1.1.7... sounds like
that is next week, sometime?!

··· On May 13, 2011, at 5:59 PM, Yaw Anokwa wrote:

this will all be in the 1.1.7 release (which is still on track for a
mid may beta)

On Fri, May 13, 2011 at 07:35, Drew Roos droos@dimagi.com wrote:

javarosa has some of these capabilities. i'm not sure if they've
made it
into the latest version of ODK.

for example, i believe you can do:

to print a comma-separated list of all children, from outside the
repeat.

you can also refer to data inside the repeat (as well as the
current repeat
index and total # of repetitions) for repetition headers and
captions.
generally, though, you cannot refer to a specific repetition within
a group
('#2 of 5' or 'the child whose name is carl'). you can only refer
to the
repetition you're currently inside, or all repetitions in aggregate
(like
with the comma-separated list example above).

On Fri, May 13, 2011 at 10:04 AM, louis louis.fazen@gmail.com wrote:

Is there any way to call or output the values from the child nodes
within
a repeat (either now or coming in 1.1.7)? I have read through the
boards,
and it does not seem like there is any simple way to auto-
increment or call
an element within a repeat without developing new classes... for
example,
if I have a loop to collect all individuals within a household, is
there
anyway to call on the specific individuals within that household
from
outside the repeat... or can I at least output all the individuals
names
with something like , even
in the repeat? Thanks!

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

the beta will be out soon. can't promise anything exact...

··· On Fri, May 13, 2011 at 08:13, Louis Fazen wrote: > great, thanks so much! I look forward to seeing 1.1.7... sounds like that is > next week, sometime?! > > On May 13, 2011, at 5:59 PM, Yaw Anokwa wrote: > >> this will all be in the 1.1.7 release (which is still on track for a >> mid may beta) >> >> On Fri, May 13, 2011 at 07:35, Drew Roos wrote: >>> >>> javarosa has some of these capabilities. i'm not sure if they've made it >>> into the latest version of ODK. >>> >>> for example, i believe you can do: >>> >>> >>> >>> to print a comma-separated list of all children, from outside the repeat. >>> >>> you can also refer to data inside the repeat (as well as the current >>> repeat >>> index and total # of repetitions) for repetition headers and captions. >>> generally, though, you cannot refer to a specific repetition within a >>> group >>> ('#2 of 5' or 'the child whose name is carl'). you can only refer to the >>> repetition you're currently inside, or all repetitions in aggregate (like >>> with the comma-separated list example above). >>> >>> >>> On Fri, May 13, 2011 at 10:04 AM, louis wrote: >>>> >>>> Is there any way to call or output the values from the child nodes >>>> within >>>> a repeat (either now or coming in 1.1.7)? I have read through the >>>> boards, >>>> and it does not seem like there is any simple way to auto-increment or >>>> call >>>> an element within a repeat without developing new classes... for >>>> example, >>>> if I have a loop to collect all individuals within a household, is there >>>> anyway to call on the specific individuals within that household from >>>> outside the repeat... or can I at least output all the individuals names >>>> with something like , >>>> even >>>> in the repeat? Thanks! >>>> >>>> -- >>>> Post: opendatakit@googlegroups.com >>>> Unsubscribe: opendatakit+unsubscribe@googlegroups.com >>>> Options: http://groups.google.com/group/opendatakit?hl=en >>> >>> -- >>> Post: opendatakit@googlegroups.com >>> Unsubscribe: opendatakit+unsubscribe@googlegroups.com >>> Options: http://groups.google.com/group/opendatakit?hl=en >>> >> >> -- >> Post: opendatakit@googlegroups.com >> Unsubscribe: opendatakit+unsubscribe@googlegroups.com >> Options: http://groups.google.com/group/opendatakit?hl=en > > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en >