ODK begin repeat and group

Hello All,

I am new to ODK work, I need some help with repeat!!!

I wanted to repeat a group of fields based on pre-determined value, so is
it right to nest begin group inside repeat loop, please give me an example.

Thanks All :slight_smile:
-Hanan

Hi,
Here is an example on how to use the begin repeat group: https://opendatakit.org/use/xlsform/
open the link and then look for the link inside which says sample excel file. Inside you have multiple examples. But, to answer your questions I do not think you can nest a repeat in a begin group. When you begin a group you have to end it then also when you open a repeat group you have to end it.
I hope it helps, if anything i said is wrong i hope someone can correct.
cheers,

Rayana

路路路 On Monday, June 22, 2015 at 10:10:33 PM UTC+1, Hanan Aqilan wrote: > Hello All, > > > I am new to ODK work, I need some help with repeat!!! > > > > I wanted to repeat a group of fields based on pre-determined value, so is it right to nest begin group inside repeat loop, please give me an example. > > > > > Thanks All :) > -Hanan

Hanan,

You can put a group (e.g., a field-list) inside a repeat. Try the
examples Rayana linked to.

Yaw

路路路 -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Tue, Jun 23, 2015 at 7:17 AM, rlaouali@ne.mercycorps.org wrote:

Hi,
Here is an example on how to use the begin repeat group: https://opendatakit.org/use/xlsform/
open the link and then look for the link inside which says sample excel file. Inside you have multiple examples. But, to answer your questions I do not think you can nest a repeat in a begin group. When you begin a group you have to end it then also when you open a repeat group you have to end it.
I hope it helps, if anything i said is wrong i hope someone can correct.
cheers,

Rayana

On Monday, June 22, 2015 at 10:10:33 PM UTC+1, Hanan Aqilan wrote:

Hello All,

I am new to ODK work, I need some help with repeat!!!

I wanted to repeat a group of fields based on pre-determined value, so is it right to nest begin group inside repeat loop, please give me an example.

Thanks All :slight_smile:
-Hanan

--

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.