Indexed-repeat repeat group

hi @stephanealoo
My question is whether a variable from one previous repetition group can be used over another, to validate fields in relevant.

I need to use the member data to validate questions that I will then ask in modules one, two, three etc. How to be gender and age. But I can’t find a way to declare the variable so that it doesn’t fail. Any suggestions?