Group Conditional by a repeatingGroup

I want to create a condition for my groups based on what the Repeating Group displays.

I have two databases for the page:
1st: named “Ressources”

Contains exercises

2nd: named “Programme”

Contains the program name
The resources (from the “Ressources” database) assigned to it

My page has a right column with the list of resources available in this program.

La collone de gauche ce sont l’application des ressources disponbilbe dans le programme.

The left column contains the applications of the resources available in the program.

What I want is that when the Repeating Group displays a resource, the corresponding group in the right column shows a different background (to indicate that this is the resource currently open).

I will show you some images to make it clearer:
The page: with the right group / The left group.

Le repeating Group left :

Le repeatingGroup right :

Database :
Programme :


Ressource :

Si quelqu’un à la réponse cela me serait très utile merci

Hi there, I hope you are doing well.
If you want to highlight the resource currently displayed, create a custom state (e.g., Selected Resource) to store the active resource. You can also update this state when a resource is clicked in the repeating group. Then, set a condition on the right column group to change its background when it matches the Selected Resource.

Thanks.

Hey thank for you answer. But It doesn’t work




I don’t understand. I can’t even find the custom states on ma other repeating group