Repeat group conditionally on a previous question


I am designing a household survey using XLSForm.

A the beginning of the form I have the usual question "How many member you household is made of?" and than we start a group asking for each household member specific information.

Is there a way to limit the number of times the loop is asked conditionally on the number of individuals in the household?

Thank you very much!

Hi @Alberto_Gualtieri

yes, it's possible you just need to add repeat_count column in your xls sheet.
Please look here

for example, if a name of your first question is let's say how_many_members then for begin repeat row in the mentioned repeat_count column you need to add ${how_many_members}