So I have a repeating group that shows a list of athletes. The goal of this repeating group is to simply have ONLY 1 athlete selected at a time.
When the user loads the page, no groups in the RG are selected.
Once a user clicks on a single group, the single group turns green.
Once that single group is green, no other group can be clicked, until the 1 green group is deselected.
There are a few different ways to achieve what you want. Right now -
what have you programmed to happen when the user clicks the cell? How does it know to turn green?
1 - Create a state in your page called selected_athlete (object type = athlete)
2 - Create a workflow when you click on your athlete group : set the state (selected_athlete) to the one you had selected with the following condition → only when selected_athlete is empty.
3- Create a workflow when you click on your athlete group : set the state (selected_athlete) = empty with the following condition → parent group athlete is selected_athlete
4- For your athlete group in your repeated group, select the tab “conditionnal” and change the appearance of your group following the condition → when this group is selected_athlete