Counting the number of times a group was repeated

Is there any way to count the number of times a group was repeated ? I want to increment a value based on the number of repeated groups.

Apparently position(…) holds this value . I will leave question + answer here for anyone else that’s looking for this.

···

On Tuesday, March 3, 2015 at 8:54:51 AM UTC+1, KGK wrote:

Is there any way to count the number of times a group was repeated ? I want to increment a value based on the number of repeated groups.

For just the total number count() is usually a better option I think.

···

On Tuesday, March 3, 2015 at 6:13:48 AM UTC-7, KGK wrote:

Apparently position(…) holds this value . I will leave question + answer here for anyone else that’s looking for this.

On Tuesday, March 3, 2015 at 8:54:51 AM UTC+1, KGK wrote:

Is there any way to count the number of times a group was repeated ? I want to increment a value based on the number of repeated groups.


Revolutionizing data collection since 2012.

Enketo | LinkedIn | GitHub | Twitter | Blog

Thanks,

It looks like I actually need both. position (…) to use inside the group to generate a number based partly on this value and . total number count () at the end of the form to summarize the input.

···

On Tuesday, March 3, 2015 at 8:54:51 AM UTC+1, KGK wrote:

Is there any way to count the number of times a group was repeated ? I want to increment a value based on the number of repeated groups.

Maybe in your use case but not if you just want to count the number of repeats.

For the latter see: https://docs.google.com/spreadsheets/d/19Ak-2Iu0wEzEMGjI0_VhB58NBudEKV5lwFoQIT9rh8c/edit?usp=sharing

And live (temporary link): https://hzqbs.enketo.org/webform

···

On Wed, Mar 4, 2015 at 12:48 AM, KGK kur...@kursad.nl wrote:

Thanks,

It looks like I actually need both. position (…) to use inside the group to generate a number based partly on this value and . total number count () at the end of the form to summarize the input.

On Tuesday, March 3, 2015 at 8:54:51 AM UTC+1, KGK wrote:

Is there any way to count the number of times a group was repeated ? I want to increment a value based on the number of repeated groups.

You received this message because you are subscribed to a topic in the Google Groups “Kobo Users” group.

To unsubscribe from this topic, visit https://groups.google.com/d/topic/kobo-users/N-wU8DFYRYg/unsubscribe.

To unsubscribe from this group and all its topics, send an email to kobo-users+...@googlegroups.com.

To post to this group, send email to kobo-...@googlegroups.com.

Visit this group at http://groups.google.com/group/kobo-users.

For more options, visit https://groups.google.com/d/optout.

Great,

Thank you for that.

···

On Wednesday, March 4, 2015 at 5:01:07 PM UTC+1, Martijn van de Rijdt wrote:

Maybe in your use case but not if you just want to count the number of repeats.

For the latter see: https://docs.google.com/spreadsheets/d/19Ak-2Iu0wEzEMGjI0_VhB58NBudEKV5lwFoQIT9rh8c/edit?usp=sharing

And live (temporary link): https://hzqbs.enketo.org/webform

On Wed, Mar 4, 2015 at 12:48 AM, KGK kur...@kursad.nl wrote:

Thanks,

It looks like I actually need both. position (…) to use inside the group to generate a number based partly on this value and . total number count () at the end of the form to summarize the input.

On Tuesday, March 3, 2015 at 8:54:51 AM UTC+1, KGK wrote:

Is there any way to count the number of times a group was repeated ? I want to increment a value based on the number of repeated groups.

You received this message because you are subscribed to a topic in the Google Groups “Kobo Users” group.

To unsubscribe from this topic, visit https://groups.google.com/d/topic/kobo-users/N-wU8DFYRYg/unsubscribe.

To unsubscribe from this group and all its topics, send an email to kobo-users+...@googlegroups.com.

To post to this group, send email to kobo...@googlegroups.com.

Visit this group at http://groups.google.com/group/kobo-users.

For more options, visit https://groups.google.com/d/optout.


Revolutionizing data collection since 2012.

Enketo | LinkedIn | GitHub | Twitter | Blog