First begin group label will not show in jump menu (repeat) if more than one begin groups within a repeat group

Yes

1. What is the issue? Please be detailed.
If more than one begin_group are specified within a repeat_group, none of the begin_group's label will be shown at the jump menu of repeat.

I wonder whether it can be defaulted to always show the first begin_group 's label.

If it is not possible for now, suggest to add a note to mentioned "only apply when one begin_group is within a repeat group" in the documentation

under Naming repeats to help with navigation

2. What steps can we take to reproduce this issue?

3. What have you tried to fix the issue?

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

The intent is to have a group immediately inside the repeat that contains all the questions in the repeat. I agree that this is not very clear in the documentation.

Maybe in https://docs.getodk.org/form-logic/#naming-repeats-to-help-with-navigation we can say basically what I said above: instead of

add a group directly in the repeat and use one or more identifying questions in the label

How about

Add a group that begins right after the repeat begins and ends right before the repeat ends. Use one or more identifying questions in the label of that group.

1 Like

If I understand how it will work now, it is like

"Insert a single group immediately after the repeat begins, with a label derived from one or more questions within the group"

1 Like

Hi @LN @chun_hing_yap

I had the same issue as @chun_hing_yap. I had multiple groups within a repeat, but none of the group labels were showing up in the jump menu. I tried the solution mentioned and it worked. My mistake was that I didn't place the begin_group around the entire repeat. The correct approach is to make sure the begin_group starts right after the begin_repeat and ends just before the end_repeat.

Thanks @LN

1 Like