I have successfully used Toggle to get each answer to open when a question is clicked, but I want the answers to collapse back when another question is toggled rather than toggling its particular question back.
I tried using custom states in a repeating group but a new answer will show while the previous one is still showing. I also tried using group focus in a group too but I am yet to get what I want.
Ah, I see. So you’re basically trying to collapse everything else when one of them are clicked? If so, is everything in a repeating group or individual groups?
Have you got the solution for the trick If yes then please share it. I’ve also tried so many combinations of options I can think of but nothing works.
When a cell is expanded / toggled I trigger the Musician inside the cell, and then I use the Maestro element outside the RG to trigger Maestros to toggle their cell to close.
Just use a custom state to determine which answer to show, and a condition on the group inside the RG to collapse or expand it based on that custom state.
Thanks @adamhholmes. It is working now. Even though I’m using a custom state I just missed (referencing the Parent Group’s “Question” text element value in the custom state).