Dynamic choice list in select_one_from_file based on total selection in previous repeat cycle

Understood. You want the user to be able to enter some details immediately upon their selection, but then also permit them to add further details later (for each selected).

Have a look at my following form; I think it accomplishes your need. It is quite a bit trickier than the basic select_multiple. You can ignore the choice_filter initially, as that doesn’t fundamentally affect the workflow itself. However, I think it is probably desired to prevent the user from re-selecting previously selected items [actually, getting this choice_filter right took most of the effort… :sweat:]


RepeatWithFollowup.xlsx (10.6 KB)

As you can see, initially it uses a repeat against a select_one to acquire all your species/fruit. It then has another repeat loop to iterate thru this list, asking for further details. Again, as before, you cannot control the order they are presented in the second loop (I still don’t know how/if that might be possible…).

Note, each subsequent select_one removes any previous selected options from the list.

Have a play and let me know what you think. It is actually an interesting and potentially useful workflow elsewhere :+1:. Tested against Enketo and KoboCollect.

1 Like