Here is the situation: I have a form contains 4 repeated groups.
1.st one is for household members information, the rest of the repeated groups are related to the information entry from the 1.st group. I mean , lets say that we have 5 members, the rest 3 repeated groups will not show 5 times for all members, a group will show for 5 members other will show for 3 members other will show for 4 members. It depends.
After I made many attempts and failed I’m seeking the help from you.
Is there a way to create a dynamic choices list, based on the number of the repeats from the 1.st repeated group (family member number), this list contains the names of the members as a labels as they were entered by enumerators?
Thank you for your reply, @wroos . As you mentioned, I have searched for the same issue and couldn’t find anything related. I would kindly ask you to reread the issue and then reply. My issue is not to create a choices list from a normal question, my issue is to creat a list ( i dont know how many options will be in it) the list of the names of the family after they were entered in a repeated group.
I have a repeated group will ask about the names and ages of the family members, I want to created a list from those family members.
Sorry, if it was misunderstood by me.
Maybe the following is more helpful for you to develop a solution? https://forum.getodk.org/t/randomly-select-a-name-from-age-group-under-5-5-15-over-15/20696
(Don’t worry, please, about the “random” aspect here.) The join creates here a person “list” in a string, separated by blanks. The string/list elements can than be adressed/separated with selected-at(…) and count-selected(…) function.