Dynamic choices from repeat

Hi guys!, does anyone here can help me on my problem? I need to find a way to set the answer from repeat group into a selection.

begin repeat
Q1. Enter household members
end repeat

Q2. Who is the head on this household member
    a. Q1(first entry)
    b. Q1(second entry)

Currently my way of doing this is to change the code in xml form and it takes time to hard code it because I have similar questions like this. Is there a way to set it in excel form not changing the codes in xml file?

Thank you! :slight_smile:

Hi @diondion
Here is a sample form that shows how to do that: children.xlsx (7.0 KB)

2 Likes

Wooah!!! This is really amazing!! It helps me a lot! This solution saves a lot of time. Thank you @Grzesiek2010 :smile: :clap:

Hi, I tried to change it to select_multiple it doesn't work now

You just changed select_one to select_multiple? I'm pretty sure it should work. Please attach your form so that we can check what's wrong.