How can I have a RG of buttons effect another element on the page dynamically?
Would i do this by, upon pressing the button, have it set the state of the element (in this case, a group) to that of the button’s current cells “???”. The idea here is that i need the group and all its contents to display different information based on which RG button was pressed.
I am a newb.
Hi there, @jessefarquhar48… what you described is exactly what I would do. I would have a custom state somewhere (I typically keep them at the page level so they are easy to find), and the custom state would be the same type as the data you are displaying in the repeating group. Then, I would set the data source of the group to the custom state. Finally, when a button in the repeating group is clicked, I would set the custom state to the current cell’s thing, and at that point, you should be good to go.
Hope this helps.
Best…
Mike
2 Likes