Group disappearing after I click on a button in RG

This seems like such an easy one but I’ve been racking my brains (and the forum) for hours and still can’t get anywhere on it!

I have a group, and inside a search input, a groupfocus and a repeating group that displays the data of the search. There is a button in the repeating group too, and every time I click on the button, the group disappears although the button and text in the RG remain.

I need the entire group to stay, so that you can click on the button and nothing changes on the screen. Is there something easy I’m missing here?

Which group disappears? The entire main group?

What is the workflow action on the button click doing?

Maybe some screenshots would be helpful here.

Yeah the main group disappears @adamhholmes.

Each of the buttons has ‘create a new thing’ or ‘make changes to a thing’ only on them. I tried adding ‘Show group’ at the end but that didn’t work.

This is what happens: https://youtu.be/xr6VNY-PQyc

Definitely has something to do with your workflow/conditionals. I would double check your process from step 1 all the way to the final step, and verify it’s all setup accordingly.

After that if it still doesn’t work, maybe you can show us your conditionals/workflow.

It could be any number of things - without more info it’s impossible to say…

Feel free to post some screenshots of your page layout, conditionals, and workflow actions, or share a read-only link to your editor if you want someone to take a closer look.

Ok, it’s probably just easiest to share the page:

Hopefully that makes it easier to look at, but happy to share screenshots etc if needed.

OK, the issue here is you’re using a group focus when there’s no need to do so…

Currently…

Your ‘Add User’ icon is showing a group focus, which contains a reusable element (group).

That reusable element contains another group focus (for some reason), which in turn contains a repeating group, inside each cell of which there are buttons.

When a button inside the RG (which is inside the second group focus) is clicked, the original first Group Focus is hidden (as is to be expected), then, as per your workflow, the second group focus is being shown again on it’s own.

I can’t see any reason to have the second group focus (it’s not needed) - a regular group, or even just the repeating group on its own would be simpler and prevent the first group focus from closing when you don’t want it to.

So I’d recommend re-thinking the structure/layout of your repeating group, that should get things working how you want them to.

Yep, that’s a great point. I think the group focus is a classic result of always having done it that way!

I’ve removed it out of there and it’s working beautifully now. Thanks for fixing my silly error :slight_smile:

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.