Naming repeat group entries for clarity?

I am still working my way through ODK but have been very impressed with the
ability of it so far..........

I have a simple form for location audits with a single repeat group off the
primary instance...........all good everything is working but I have this
question. if my auditor does not complete the form and wishes to continue
working on the primary record it is very confusing to know what repeat
group to return to once they get back to it.

example would be

  • location AA
  • repeat(1)
    • repeat(2)
    • repeat(3)

I would like to have my form name the repeat instances as such

  • location AA
    • (dining hall)
    • (Kitchen)
    • (Aid Station)

Can i use one the fields from the repeat group {sub-location} to name the
instance? This is only for clarity when returning to an un-finalized form.

Thanks for your help in advance.

John

Give it a try. I think it should work. Since it is a repeat group, you
can't just write ${height}, but need to use the ./height relative path to
refer to that element.

When working with repeat groups, be sure to test your forms after creating
at least 2 copies of the repeat group. Most problems will be because you
are using ${element} instead of ./element within the formulas in that
repeat group.

··· On Sun, Jan 18, 2015 at 11:11 AM, John Harper wrote:

I am still working my way through ODK but have been very impressed with
the ability of it so far..........

I have a simple form for location audits with a single repeat group off
the primary instance...........all good everything is working but I have
this question. if my auditor does not complete the form and wishes to
continue working on the primary record it is very confusing to know what
repeat group to return to once they get back to it.

example would be

  • location AA
  • repeat(1)
    • repeat(2)
    • repeat(3)

I would like to have my form name the repeat instances as such

  • location AA
    • (dining hall)
    • (Kitchen)
    • (Aid Station)

Can i use one the fields from the repeat group {sub-location} to name the
instance? This is only for clarity when returning to an un-finalized form.

Thanks for your help in advance.

John

--

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.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Has anyone been able to find a way to name repeat groups? I'm trying to do that as well (for example, for different years). Any help on this would be great!

I answered your question here Creating name tags for every repeat group interation