# Decreasing repeat count in a submission removes instances in Webforms

**URL:** <https://forum.getodk.org/t/decreasing-repeat-count-in-a-submission-removes-instances-in-webforms/58372>\
**Category:** Support\
**Tags:** xlsform-template, odk-webforms\
**Created:** [July 14, 2026, 4:41am UTC](https://forum.getodk.org/t/decreasing-repeat-count-in-a-submission-removes-instances-in-webforms/58372 "2026-07-14T04:41:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ahblake](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/ahblake/32/22392_2.png) [@ahblake](https://forum.getodk.org/u/ahblake)\
**Post date:** [July 14, 2026, 4:41am UTC](https://forum.getodk.org/t/decreasing-repeat-count-in-a-submission-removes-instances-in-webforms/58372/1 "2026-07-14T04:41:11Z")

</div>

**1. What is the issue? Please be detailed.**  
From the [docs](https://docs.getodk.org/form-logic/#hiding-extra-repeats-when-the-repeat-count-is-reduced)

> When using repeat\_count, no repeat instances are deleted if the count is set to a value and then later decreased. This avoids accidental data loss: a user who accidentally sets the count too low will not lose the repeat instances they had previously filled out.

In Webforms v1.0.0 (and Enketo), lowering the value that is used for `repeat_count` will remove repeat instances and any data within.

While this is consistent with Enketo, it is not consistent with Collect or documentation.

**2. What steps can we take to reproduce this issue?**  
use this example form to see behaviour

[repeat\_count\_decrement.xlsx](https://forum.getodk.org/uploads/short-url/eVD4LVAauYmEYcJJFCWGrb6FN0v.xlsx) (83.7 KB)

---

<div class="post-metadata">

**Author:** ![JenniferQ](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/jenniferq/32/29022_2.png) [@JenniferQ](https://forum.getodk.org/u/JenniferQ)\
**Post date:** [July 14, 2026, 12:41pm UTC](https://forum.getodk.org/t/decreasing-repeat-count-in-a-submission-removes-instances-in-webforms/58372/2 "2026-07-14T12:41:49Z")

</div>

Thanks Andrew! In this one, it should align with Collect and the docs. I've opened a [ticket](https://github.com/getodk/web-forms/issues/849), and it will be resolved in the next release.
