Repeat group based on number of rows in external .csv

Hi
We are looking to do a simple attendence app. We will use an external .csv
for students names or IDs.
Question is there a mechanism or how can I create a repeat group based on
the number of rows in the app. We might start with ten students but
students may enrol or they may drop out. Person taking attendance may not
know or know each students name.

Thanks

Craig Savel

Hi Craig,

There's no easy way to count the number of rows.

But you can put the student names in a select multiple for the first
question. Then have a calculate that counts the number of selected
names (e.g., count-selected(${student_names}), then use that value in
a repeat_count column.

For 10-20 students, I don't think you really need external CSV.
Internal CSV should be plenty quick.

Yaw

··· On Thu, Apr 6, 2017 at 2:22 PM, Craig Savel wrote: > Hi > We are looking to do a simple attendence app. We will use an external .csv > for students names or IDs. > Question is there a mechanism or how can I create a repeat group based on > the number of rows in the app. We might start with ten students but students > may enrol or they may drop out. Person taking attendance may not know or > know each students name. > > Thanks > > Craig Savel > > -- > -- > 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.
1 Like