We want to create a repeated groups based on selections in one of the multi-select questions. Is it possible to determine number of repeated groups based on number of selections and then auto-fill the first response in each repeated group with one of the selections and continue the repeat groups for each selection.
For example:
The selections in multi-select question are as follow:
I want the repeated group to repeat 3 times based on 3 selections. And then in each repeated group, it prefill the response to the first question as the value of first item selected above:
Thank you Dear @wroos for the guidance and quick response
I am still new Kobo user and am learning advance features. Is there any other form that might have implemented similar questionnaire that I could follow? I still don’t know how to add loop.
Attached is the sample Excel file I have worked so far, appreciate if you could have a look dynamic repeat groups.xlsx (14.0 KB)
Dear @Kal_Lam
The example you shared is exactly what I needed. I brought the [jr:choice-name(selected-at(${…] calculation inside the repeated group, and it worked.
Sharing the updated XLS of my form here as well. dynamic repeat groups (corrected).xlsx (13.9 KB)
Thank you both @Kal_Lam and @wroos for the guidance. Very much appreciated.