I prepared an XLSForm as attached here.
XLSForm_230212v2.xlsx (43.2 KB)
In this questionnaire, “household” (“name” column in 13th line) is set as a primary group (begin_group) and 10 sub-groups are set inside by household members.
I also set “field-list” in appearance of the primary group and all other sub-group headers (excluding household member 1).
The structure looks like this:
Household
[start_group] + [field-list]
- Number of household members (integer)
- Member 1
[start/end_group] - Member 2
[start/end_group] + [field-list]
| - Member 10
[start/end_group] + [field-list]
[end_group]
The number of household members is answered first and Member 2 - 10 are displayed based on the answer. It works perfectly in web-based questionnaire as well as opening it in my Android web browser from the URL after deploying it. Each title of Member 1, 2, … 10 are also displayed.
In this way I also expected that the first screen in KoboCollect shows “Number of household members” and the fourst group (Member 1), then goes to the next screen with Member 2, then, 3, …, 10 respectively.
However, if I set 2 in “Number of household members”, it displays all 2 members in one screen and it does not display group title (Member 1, 2 … 10), thus there is no way to understand which member’s question I am now fuifilling.
This is an example which is opened in my android web browser.
It shows “Member 1” and “Member 2” as separator.
This is another example from KoboCollect which unexpectedly shows Member 1 and 2 in one screen without header (The text “Mermber 1” and “Member 2” inbetween).
Do you have any suggestions to solve these two issues?