Create an action to change the view inside a page


I would like to create tabs on a page to move from one element to another within the same page.

Example: I have 2 Repeating Group and I would like that when I click on a button within the page, one or the other appears on the screen.

How should I do it?


Well. one way is to do exactly what yo’re already said…

i.e. when the button is clicked, hide the first RG and show the second.

Another (probably better) way is to show/hide each RG based on a condition relating to a custom state value, and then simply set that custom state value accordingly when the button is clicked.