Can you use or_other with a select_one_from_file using a .csv. It does not appear so, just want to confirm. I would rather not add Other to my CSV as I only need it in specific locations and don't want to filter it out everywhere.
Solved! Go to Solution.
Hi @TL2,
No, or_other is not supported for select_one_from_file using a .csv. This is becuase or_other is a standard XLSForm specification, therefore can only be used on standard select_one questions that are created and populated by pyxform when the survey is published.
However, you can create your own or_other workflow with select_one_from_file, simple add an "other" choice to the .csv choice list. And then create an additional text field in the survey and use a relevant statement, that when the "other" choice is select in the select_one_from_file, make that text question relevant so the user can see it and add there other choice.
Regards,
Phil.
Hi @TL2,
No, or_other is not supported for select_one_from_file using a .csv. This is becuase or_other is a standard XLSForm specification, therefore can only be used on standard select_one questions that are created and populated by pyxform when the survey is published.
However, you can create your own or_other workflow with select_one_from_file, simple add an "other" choice to the .csv choice list. And then create an additional text field in the survey and use a relevant statement, that when the "other" choice is select in the select_one_from_file, make that text question relevant so the user can see it and add there other choice.
Regards,
Phil.