Constraint in the age of the first repeat-count

I have a repeat-count in XLSform linked to the number of people in a household. I want the first person to reply to the questions to be older than 18 in the question of AGE but I don´t know how to constraint just the first entry.

Hi @mcvillanuevaa
We're glad you're here. When you get a chance, please introduce yourself on this forum thread. I'd also encourage you to add a real picture as your avatar because it helps build community!

Please attach a sample form that shows you case so that it's easier to understand your problem and help you fix it.

Hello, If I understood you correctly, try the following

in Age contraints: (. = '98') or (. = '99') or (. = '777') or if(position(..) = 1 and (. <= 18), false, ((. >= '0') and (. <= '95')))

Message contraints: El primer registro debe ser mayor a 18, o ingresar una Edad entre 0 y 95 o 98, 99, 777

Regards