How can I highlight the current cell of a repeating group when the cell is clicked?
I see no “current cell” option under the conditional tab.
I also looked into adding a shape in the background of the group to change color when it is clicked, but there is no “when clicked” in the conditional and in the workflow where there is a “when clicked” there is no option to change the element color.
Create a custom state in your page called “Selected”, as Number.
Place a group/shape as background of your RG cell. In it’s contitional tab create a condition to change its background color when your page state “Selected” = Current cell index.
Create an action to change the page state “Selected” to the Current cell index when your group/shape is clicked.
Hey @rpetribu ! Thanks so much! That helped… but led to another issue:
When I click the cell, it highlights like it should, then when I click another cell, it highlights too, but the other cell doesn’t change back to the original color.
I tried to solve this by creating a second condition on the shape where when the page state “Selected” IS NOT page index, it is the original color. This did not help. The clicked shapes stay the clicked color, even if they aren’t clicked.