# Repeat\_group after editing

**URL:** <https://forum.getodk.org/t/repeat-group-after-editing/33921>\
**Category:** Support\
**Created:** [June 11, 2021, 9:13am UTC](https://forum.getodk.org/t/repeat-group-after-editing/33921 "2021-06-11T09:13:57Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![danbjoseph](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/danbjoseph/32/21901_2.png) [@danbjoseph](https://forum.getodk.org/u/danbjoseph)\
**Post date:** [June 11, 2021, 10:20am UTC](https://forum.getodk.org/t/repeat-group-after-editing/33921/2 "2021-06-11T10:20:57Z")

</div>

This sounds related to the discussion here:

> [@XLS form- Repeat select\_one question until "A" is selected](https://forum.getodk.org/t/xls-form-repeat-select-one-question-until-a-is-selected/15318/25):
>
> I see now that @RafaelKluender also asked about users changing the repeat question. As far as I know, there is no way to do this programmatically. There should be conceptually but some quirks of the evaluation engine currently make them impossible: When repeat count is decreased, repeat instances are not deleted. This was a deliberate choice to avoid accidental data loss. The general recommendation is to use a group inside the repeat with relevance testing against the target count to hide re…

And also here:

> [@How can I adjust follow-up repeats when answer from select\_multiple changes?](https://forum.getodk.org/t/how-can-i-adjust-follow-up-repeats-when-answer-from-select-multiple-changes/33021/6):
>
> For what you describe, I'd generate as many repeat instances as there are choices and use relevance to only show the contents of the repeats corresponding to the choices that were selected. This is truly dynamic based on the selection and it allows for choices to be selected and unselected without their consumption frequencies being lost during a form-filling session. See an example [here](https://docs.google.com/spreadsheets/d/1gs1vBCotSUsZ7A3YJdtfs-KOrCcbhyFUOWMPO-lm4p0/edit#gid=0). An inconvenience with this approach is that you'll see 25 repeats for every submission even though most wil…

---

_[View the full topic](https://forum.getodk.org/t/repeat-group-after-editing/33921)._
