Hints for Options in Select Question

Are these possible? I don't see anything about it on the examples page. Has
any thought been given to adding them? Or if they're possible, what is the
correct xml?

I like to keep option titles short for reporting purposes, but sometimes a
little extra explanation is needed.

Thanks!

Hey guys, never got a response on this one. Hints for select options? Yea
or nay?

··· On 13 November 2012 09:46, Thomas Smyth wrote:

Are these possible? I don't see anything about it on the examples page.
Has any thought been given to adding them? Or if they're possible, what is
the correct xml?

I like to keep option titles short for reporting purposes, but sometimes a
little extra explanation is needed.

Thanks!

Seems like a reasonable idea to me. I don't know if this XForms-y
enough, but I'd imagine it'd look like this...

branch prompt This is the branch prompt yes Select this for yes y no Select this for no n
··· On Fri, Jan 11, 2013 at 5:10 AM, Thomas Smyth wrote: > Hey guys, never got a response on this one. Hints for select options? Yea or > nay? > > > On 13 November 2012 09:46, Thomas Smyth wrote: >> >> Are these possible? I don't see anything about it on the examples page. >> Has any thought been given to adding them? Or if they're possible, what is >> the correct xml? >> >> I like to keep option titles short for reporting purposes, but sometimes a >> little extra explanation is needed. >> >> Thanks! > >

So I take it it's not currently possible...

··· On 11 January 2013 11:15, Yaw Anokwa wrote:

Seems like a reasonable idea to me. I don't know if this XForms-y
enough, but I'd imagine it'd look like this...

branch prompt This is the branch prompt yes Select this for yes y no Select this for no n

On Fri, Jan 11, 2013 at 5:10 AM, Thomas Smyth thomas.smyth@gatech.edu wrote:

Hey guys, never got a response on this one. Hints for select options?
Yea or
nay?

On 13 November 2012 09:46, Thomas Smyth thomas.smyth@gatech.edu wrote:

Are these possible? I don't see anything about it on the examples page.
Has any thought been given to adding them? Or if they're possible, what
is
the correct xml?

I like to keep option titles short for reporting purposes, but
sometimes a
little extra explanation is needed.

Thanks!

Correct. You'll have to add it to the core...

··· On Fri, Jan 11, 2013 at 9:21 AM, Thomas Smyth wrote: > So I take it it's not currently possible... > > > On 11 January 2013 11:15, Yaw Anokwa wrote: >> >> Seems like a reasonable idea to me. I don't know if this XForms-y >> enough, but I'd imagine it'd look like this... >> >> >> branch prompt >> This is the branch prompt >> >> yes >> Select this for yes >> y >> >> >> no >> Select this for no >> n >> >> >> >> On Fri, Jan 11, 2013 at 5:10 AM, Thomas Smyth wrote: >> > Hey guys, never got a response on this one. Hints for select options? >> > Yea or >> > nay? >> > >> > >> > On 13 November 2012 09:46, Thomas Smyth wrote: >> >> >> >> Are these possible? I don't see anything about it on the examples page. >> >> Has any thought been given to adding them? Or if they're possible, what >> >> is >> >> the correct xml? >> >> >> >> I like to keep option titles short for reporting purposes, but >> >> sometimes a >> >> little extra explanation is needed. >> >> >> >> Thanks! >> > >> > > >

Actually, it is a really just a rendering issue in ODK Collect 1.x.

For example, in the SelectMultiWidget,
http://code.google.com/p/opendatakit/source/browse/src/org/odk/collect/android/widgets/SelectMultiWidget.java?repo=collect#102

There are:

            String audioURI = null;
            audioURI =

prompt.getSpecialFormSelectChoiceText(mItems.get(i),
FormEntryCaption.TEXT_FORM_AUDIO);

You would just add a:
String hintText = null;
hintText =
prompt.getSpecialFormSelectChoiceText(mItems.get(i),
"hint");

And then update the source to render the hintText if it is non-null.

It is an easy change; if you want to provide a patch, we can fold it into
the main branch when time permits.

Mitch

··· On Fri, Jan 11, 2013 at 9:30 AM, Yaw Anokwa wrote:

Correct. You'll have to add it to the core...

On Fri, Jan 11, 2013 at 9:21 AM, Thomas Smyth thomas.smyth@gatech.edu wrote:

So I take it it's not currently possible...

On 11 January 2013 11:15, Yaw Anokwa yanokwa@nafundi.com wrote:

Seems like a reasonable idea to me. I don't know if this XForms-y
enough, but I'd imagine it'd look like this...

branch prompt This is the branch prompt yes Select this for yes y no Select this for no n

On Fri, Jan 11, 2013 at 5:10 AM, Thomas Smyth thomas.smyth@gatech.edu wrote:

Hey guys, never got a response on this one. Hints for select options?
Yea or
nay?

On 13 November 2012 09:46, Thomas Smyth thomas.smyth@gatech.edu wrote:

Are these possible? I don't see anything about it on the examples
page.
Has any thought been given to adding them? Or if they're possible,
what
is
the correct xml?

I like to keep option titles short for reporting purposes, but
sometimes a
little extra explanation is needed.

Thanks!

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com