Create a loop and calculate the number of members in that household

Hi, can you help me please, about how I can create a loop with, for example, the number of members in a family, so that later it only allows adding that number of person? and I want to calculate the number of members in that household

Thanks :slight_smile:

Welcome back to the community, @nazaret! You could do it as outlined in our post discussed previously:

OMG, Thank you so much!! ;D , but how do you limit the number of repetitions of the group?
for example:

image

Another question, can I automatically generate the family number each time it is added? Family 1, family 2 … familiy X?

You could do that as discussed in our post discussed previously:

Thanks so much!!! @Kal_Lam :smiley:

1 Like

IKEA End of Season Monitoring Tool_FAOUG .xls (88 KB)
Hey @Kal_Lam could you check what the problem is with my count loop. I keep getting the message: Unexpected KoBoCAT error 400: b’{“detail”:“There has been a problem trying to replace ${(C1)} with the XPath to the survey element named '(C1)'. There is no survey element with this name.”}’