When element is clicked, hide element inside repeating group

Hi,

My page has a header and a repeating group, and there’s a button in my header. When I click this button, I want to show/hide an element contained inside the repeating group.

Apparently this isn’t possible…? See these two screenshots:


Is there any way to achieve this?

Thanks for your help

Are you trying to hide the Button in every cell, or just a specific cell(s)?..

1 Like

can you be a little bit detailed on what you want to hide eg( what is the name of the RG and Button) but i think it should be " current cell… "

You can send parameter from the header button and use condition on the RG’s button “Get data from page URlL”.
This may work.

Apparently it isn’t possible, as far as I can tell. In my case I’ve found a workaround. However I’m still interested about this.

Apparently it isn’t possible, as far as I can tell. In my case I’ve found a workaround. However I’m still interested about this.

It’s very possible, and simple… but exactly how to do it will depend on whether you want to hide the button in every cell, or a specific cell, hence why I asked that question previously…

But if you don’t want to answer, and have already found a workaround then that’s all that matters…

1 Like

A specific cell

Well, if you only ever want to hide a single button, just create a custom state that contains either the cell index, or the cell’s thing, then have a conditional on the Button to make it not visible when that custom state value is the current cell’s index (or thing)…

If you want to hide multiple buttons, then just make that custom state a list, and use the conditional when the custom state value contains the current cell’s index (or thing), hide the Button.

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