Repeats Revisited

Martijn van de Rijdt, 17 Apr 2017

We have made some often-requested improvements to how “repeats” behave in Enketo.

Repeat Count

The existing “Repeat Count” feature has now become fully dynamic. This means that if at any point the repeat count changes, the number of repeats will automatically be adjusted.

To avoid accidentally removing repeats that contain data, we recommend using an advanced form-building technique that requires a confirmation. You can see this technique in action by clicking the image below. See also the XLSForm. Using this confirmation technique is completely optional though.

"Autocomplete Demo"

First Repeat in Series

Enketo is now supporting the removal of the first repeat in a series as well. At this moment, a repeat count of 0 (or none) will remove all repeats. We are currently discussing enabling the manual removal of the first repeat when no repeat count is used. Update: since October 16th, 2017, the first repeat can also be manually removed if repeat count is not used (again thanks to Esri funding).

Acknowledgements

This feature was made possible by funding from the amazing people at Esri.

Feedback

As always, we’d love to get your feedback! Comment on this blog, tweet @enketo, or post a message in the Enketo forum. If you discover a bug, please let us know what browser you are using.