I am getting an error message “invalid data type…” while previewing my form when using select_one_from_file. However, when I launch a web form it works fine. Kindly provide more insight on the returned error message while previewing the form.
Welcome to the community! Please be informed that collecting data using select_one_from_file at the moment is only supported in Enketo (and not in KoBoCollect android app).
For details, please see the support article Select one or many from external file question typehere.