I think I know the answer (not) but I just want to confirm with one of the ODK developers, that the current ODK Collect client does not support the selection="open" option on either select or select1 controls? [see https://en.wikibooks.org/wiki/XForms/Open_Selection].
I ran some tests with Collect, using the following XForms snippet:
...
Sports played
Cricket
cricket
Rugby
rugby
Soccer
soccer
...
but I dont see an additional user-defined text field added automatically. I poked around the docs but didnt find anything anywhere stating this isnt supported, nor any examples indicating it was...
[yes, I know I can workaround this by explicitly adding an 'Other' item to my list, and then adding another text control to my form, dependent on it, to enter the user-defined value].
cheers,
Hi Gareth,
You are correct that open selection is not supported. If you'd like
this added, file a proposal on the ODK XForm Spec.
https://github.com/opendatakit/xforms-spec/issues/new.
You can use the manual other option, or in XLSForm use "select_one
or_other" as your type to have an other option added automatically.
See http://xlsform.org/ref-table/ (search for or_other).
Yaw
ยทยทยท
On Wed, Apr 5, 2017 at 6:36 PM, wrote:
> I think I know the answer (not) but I just want to confirm with one of the ODK developers, that the current ODK Collect client does not support the selection="open" option on either select or select1 controls? [see https://en.wikibooks.org/wiki/XForms/Open_Selection].
>
> I ran some tests with Collect, using the following XForms snippet:
>
> ...
>
> Sports played
>
> Cricket
> cricket
>
>
> Rugby
> rugby
>
>
> Soccer
> soccer
>
>
> ...
>
> but I dont see an additional user-defined text field added automatically. I poked around the docs but didnt find anything anywhere stating this isnt supported, nor any examples indicating it was...
>
> [yes, I know I can workaround this by explicitly adding an 'Other' item to my list, and then adding another text control to my form, dependent on it, to enter the user-defined value].
>
> cheers,
>
> - Gareth
>
> --
> You received this message because you are subscribed to the Google Groups "ODK Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to opendatakit-developers+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.