Repeat functions set as compulsory

In the XLS form we have 3 different sections (begin/end repeat):

  • listing of the current household members
  • members who have left the household during the recall period
  • members who died during the recall period.

The instruction to start one of these sections is:
"Press "Add Group" - to add another household member until all members are listed. When listing is complete, press "Do Not Add" to continue with the questionnaire."

Automatically, a group is added for the listing of the current household members which is fine as we will always have at least one person.

But I would like to avoid to that the two sections about members who have left / who died be set as compulsory questions/group.

Currently, a group is automatically presented. Even if no data are entered into the questionnaire/section, we have an incorrect total of members who left/died (1 instead of 0) because of the presence of the group.

An alternative is to add two new questions:
“What is the total number of household members that LEFT this household during the recall period?”
and “What is the total number of household members that DIED during the recall period?
If the answer is “0”, then the questions related to the persons that left and died will not appear.
If the answer is “2” the group of questions will appear twice.

But I would like to avoid adding new questions.
Any guidance on potential ways to avoid adding new questions ?

SMART_Survey_MORTA_EN_FR_03.xlsx (22.3 KB)

Many thanks in advance for your support

Hi everyone,

Any suggestions for this?
Thank you :slight_smile:

see this example form and documentation https://docs.getodk.org/form-repeats/#id5. Hope this help you get the solution.