Add “Other” choice to dynamically generated select_one list

1. What is the issue? Please be detailed.

I am using link below to generate dynamic list in select_one option through repeat function.
https://docs.getodk.org/form-logic/#generating-select-ones-from-repeats

I would like to add one “Other” choice to above list… any workaround?

2. What steps can we take to reproduce this issue?
https://docs.getodk.org/form-logic/#generating-select-ones-from-repeats

3. What have you tried to fix the issue?
Tried Join and concat option in calculate field to append "Other option"

4. Upload any test forms or screenshots below.

I am not certain if there is a workaround for this. The option "Other" requires one to input choices, which in this case is not applicable

Exactly..
I have tried or_other also, which requires list name entry in choices sheet.

Hi there, any solution that might works for this specific problem ?
I’m having the exact same issue.
Thanks in advance.

I think this is an intentional problem not an edge case. Initially you had the repeat group to add every case but you didnt add it. Now how comes you want to add it at the select one queations that reference the field in the repeat group? I think its just easy to go back and add the other missing choice within the repeat group. Can you prove why is hard for you to do it in the repeat group, from there we can suggest a workaround.

Cheers.

Hello Stephen,

Tank you so much for your answer !!

Well, indeed you’ve got a point but within the context of our survey, this “other” option would be very necessary.

We are going to ask people about their habits of food shoppings and more specifically the importance of trips organized as part of a chain. So, first, we ask them to provide us with a list of all their outdoors activities. And then, we ask them, for each “place of activity”, the complete loop for this very activity from home to home.

For exemple :
Activity chosen = work
==> home / work / sport / back to home (we call this a mobility chain)
or ==> home / work / supermarket / back to home.

So, in that context, it will be more than likely that people will forget various locations when we first ask them to give a list of all their outdoors activies (“Oh yes, before going to the market, I stopped at this bank to withdraw money !”… and now we have to had “bank” in the list of places of activity).

And because this situation will occur quite often, it’s important for the interviewer to have the “other” option and to avoid going back into the questionnaire.

I hope this make sense ! It’s not very easy to explain :slight_smile:

Thanks again for your help and have good day !

Now i got you but since the ‘other_option’ feature from repeats doesnt exist I would redesign the wotkflow to take each outdoor activity and walk with it through place of activity question and complete the loop then takes another activity. So the repeat group should be for outdoor activity with place of activity question occuring within this repeat group. This ensures no place is forgotten. Let me know how this redesign might not achieve your outcome.