Restrict the age of a first member of the family to be greater than 15 years in a repeated group

Hello to the forum
Please, i need help
I would like to know if it is possible to restrict the value in a loop within a repeated group.
To be more clear, I have an household roster that should be a repeated group with data like age, sex, marital status. Now I would like the value of age of the first member (the first loop of the repeated group) of the household to be greater than 15, how can I do it? somebody can help me ?

@Rildwan, you could do it as outlined in the image shred below:

In the survey tab of your XLSForm:

In the choices tab of your XLSForm:

Image 2

Data entry screen as seen in Enketo:

Reference XLSForm:

Roster Constraint.xlsx (29.8 KB)

@Kal_Lam Thanks for your help, really appreciate

1 Like