A greater number of repeated groups than indicated is generated in only some cases

Dear all,

I appreciate any support you can provide. I have created a form that includes a section of questions that repeats as many times as the number of family members indicated. I am attaching the truncated form sections involved. The flow is as follows:

  1. in section 1, the total number of household members (question tot_1) is calculated as the sum of questions p6a and p6d reported by the respondent.
  2. in section 5, a note is initially displayed showing how many members the family consists of, and then the interviewer is asked to record this same number (if the figures do not match, a note appears alerting this discrepancy).
  3. Repeated groups are created for the total number of family members starting from group “sec_nombres”.

The survey is being administered via KoboCollect. The problem is the following: Out of the 70 surveys that have been conducted so far, only in 3 cases has a greater number of repeated groups been created than registered. For example, the interviewer enters 5 members (which matches the calculated value), but when the groups are created, they are generated for 13 members (starting from question p37).

As I mentioned, this has only occurred in a small number of cases; for the majority, it has worked perfectly. Therefore, I am not sure what might be happening. I have previously worked with similar surveys and did not have this kind of problem. Additionally, I validated the complete questionnaire on the ODK platform and everything was fine.

I am also attaching 2 images where it can be seen that the correct number of members is registered, and how a greater number of repeated groups is created.

Thank you very much.

Hi @gguevara,
Can you share your XLSFORM with me. I will check that’s the problem.

1 Like

Thank you very much for your willingness to help. However, it appears that I cannot attach files because I am a new user. Additionally, I can only add 1 image per reply.

So I am attaching the image of section 1, which along with the image I shared of section 5, completes the two sections of the form that need to be reviewed.

I apologize for the inconvenience, but I must adhere to the forum guidelines. Thank you for your understanding.

@gguevara,
I see your images, But i didn’t find any issue.

1 Like

@Bulbulrds , exactly thank you for review the images. I have been able to verify that it is not a typing error (I received screenshots of the question flow).

Maybe someone has experienced something similar before, and I would appreciate any suggestions.

I’ve bumped up your level, so perhaps try to post your form again.

1 Like

Cuestionario.xlsx (104.9 KB)

Thanks, @Xiphware. Now I am able to upload the form. I would appreciate any suggestions.