Repeat Groups -Add "null" Repeat Dialogue and Remove Repeat

1. What is the issue? Please be detailed.
ODK Collect v2024.3.0 Beta 4

  1. Removing a repeat group is very unintuitive. Could we just have a button added on the left side of the repeat dialogue or whatever the attached screenshot is called? The button could just say "Remove".

  2. The repeat groups dialogue is also off-putting. Is there a good reason "null" cannot be changed to "repeat" or "repeat group".

  3. Also, "Do Not Add" should just be changed to "Cancel" like most standard dialogues.

2. What steps can we take to reproduce this issue?
In ODK Collect, after completing the first repeat group, click Next. You can also click the plus button to the left of the save disk that appear during a repeat group.

3. What have you tried to fix the issue?

4. Upload any forms or screenshots you can share publicly below.

Note the location of the plaint text edits that would match the UI theme colors appropriately.

1 Like

How commonly does a repeat instance need to be removed in your context? Can you please tell us about how the need to delete is discovered and what the user does next (e.g. do they add a repeat to replace what they had before)? There's the potential to lose a lot of data when deleting a repeat instance so there are tradeoffs in exposing it more.

Interesting! We must not have tested with a blank repeat label. Yes, we can make a better generic prompt in case of no repeat label. I'd also recommend specifying a label for the repeat so that it can be used in this context. We have this described in a note at https://docs.getodk.org/form-logic/#user-controlled-repeats and maybe we should make it more visible.

:+1:

1 Like