Accordion - open close button state change


I’m trying to create an accordion where the state of the button changes to be open or closed depending if the accordion is open or closed.
Can any body help?

Hi rmb101,

Sure thing! All you need to do is convert the button into a dynamic panel with two states - one open and the other closed. OnClick of this dynamic panel, set the panel to the “Next” state and wrap it from first to last so that it toggles back and forth between the two states on show/close of its content.

I created a simple example file for you to look at. Lmk if you have any questions!

AccordionToggle.rp (53.3 KB)