Loops in ODK Collect

Hey ODK Implementers,

I'm trying to get a better understanding of what's possible with loops
in ODK Collect. I tried writing a loop that would be limited to three
repetitions following the description from http://code.javarosa.org/wiki/xform
:

"You can limit how many repetitions can be created through a
constraint on the repeatable node (e.g., )."

Unfortunately my implementation kept going after the third repetition.
From what I've gathered ODK Collect only supports a continuous loop
where the user decides when to stop. Am I misunderestimating ODK here?

Thanks for the help, Andrew

PS It's a shoddy workman who blames his tools.

this is a long standing javarosa bug. i filed it at
https://bitbucket.org/javarosa/javarosa/issue/4/nested-repeat-ignores-jr-count
about nine months ago and i think it slipped through the cracks. i'll
ping clayton to see if we can get it knocked out soon.

ยทยทยท On Wed, Jun 30, 2010 at 19:10, Andrew Marder wrote: > Hey ODK Implementers, > > I'm trying to get a better understanding of what's possible with loops > in ODK Collect. I tried writing a loop that would be limited to three > repetitions following the description from http://code.javarosa.org/wiki/xform > : > > "You can limit how many repetitions can be created through a > constraint on the repeatable node (e.g., )." > > Unfortunately my implementation kept going after the third repetition. > From what I've gathered ODK Collect only supports a continuous loop > where the user decides when to stop. Am I misunderestimating ODK here? > > Thanks for the help, Andrew > > PS It's a shoddy workman who blames his tools.