To the best of my knowledge (seemingly confirmed by posts like this one and this one), you can’t conditionally change the layout of a repeating group. So, unless I am missing something, I believe the only way to go here is to have two repeating groups.
1 Like