Display "others" prompt on same screen as multiple choice question

What is the problem? Please be detailed.
Does drop-down feature available on ODK v1.16.2.
Detail of the problem: So for a multiple choice question, i have an option "others" in the choice list and on selecting the "other" choice field the enumerator has to swipe-forward to specify the "other" choice field. But i wanted to know if it is possible to have the "please specify" field appear upon selecting the "other" choice field on the same screen.
What ODK tool and version are you using? And on what device and operating system version?

What steps can we take to reproduce the problem?

What you have you tried to fix the problem?

Anything else we should know or have? If you have a test form or screenshots or logs, attach here.

Hi,

For drop-down use appearance = minimal and for no for the other question. The "If other, please specify" should be on the next page.

Thanks

1 Like

To be extra precise, you cannot include a question that depends on a previous answer in the same field list as the previous question it depends on.

More at https://docs.opendatakit.org/form-question-types/#grouping-multiple-widgets-on-the-same-screen

1 Like

This sounds a bit like you want the so-called XForms open selection feature, which ODK doesn't support. Would that be accurate?

yes can't include the feature that i was looking for in ODK. it seems it dosen't support. but have used the logic "selected(., '7') and count-selected<=7" to display the "please specify other" choice field on the next screen. 7 here corresponds to "please specify other."

If you think have a compelling use case, feel free to open a feature request in the Features forum to add open selection support to ODK. This would require changes in both Collect, and any form builders and associated tools; ie Build, KoboToolbox, pyxform, ... So although in-of-itself not technically challenging, it would likely be a non-trivial piece of work to support everywhere it needs to be.

I'm a little confused about what feature @Vineet_Jk needs, so I'll address both.

Multiple questions on one screen are hard to implement. We're hoping to take it on soon and the issue tracking our progress is at https://github.com/opendatakit/collect/issues/378

Open selection is also hard to implement. We've had an issue on this for years at https://github.com/opendatakit/javarosa/issues/128. I have a sneaky suspicion that there might be code lurking in some of the JavaRosa forks that would enable this. Maybe @LN knows...