Toggle all my collapsed groups in a repeating group

In my repeating group, I have 14 types of phases.

To display the 14 types there are groups for each phase in the first cell of the RG. Each phase group has a conditional to have the element visible if it is a particular phase.

Some phases have additional info to display. This is done with another group inside the phase group. This additional info is toggled using an icon.

This all works great but I’d like to have a ‘master toggle’ to hide and show all these additional groups at once.

Is this possible? I tried using custom states but it wasn’t working (I could have been doing it wrong)

Is it possible to click the master toggle and then have the other toggles trigger?

Note that in the editor the RG header is also in cell 1 with conditionals to have visible.

Here is a screen shot of my app

Is it possible to click the master toggle and then have the other toggles trigger?

1 Like

I’m guessing you would have to have a conditional in each child of the main RG pointing to the master switch. Something like

  1. when main toggle is on
  2. this group is not visible

Otherwise, I would think that the answer is somewhere on the workflow do when true.

2 Likes

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