Multiple labels for advanced widget: request for feedback

Hi ODK Devs,

I am working on various custom analog scale widgets for a client that
requires multiple user-editable label segments to be added to an integer
question. One of the things this project needs to solve might very well be
relevant to something you have encountered or may encounter in the future.
Therefore, I wanted to see if you have any feedback.

The solution I am thinking of is pretty simple. Put all text inside a
single [label] but use a pipe | separator, e.g.

This is the main label | This is the sub label | Text for top of

scale | Text for bottom of scale

If somebody has solved this requirement previously, I would probably prefer
to adopt that solution, so please let me know. Otherwise, any thoughts
about this approach?

Cheers,
Martijn

Martijn,

Hints are already sub-labels. Why not use hints?

Do you have a sketch of how this will look like in a UI for the
top/bottom of the scale?

What happens if you want to represent something like a likert scale?

Yaw

··· -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Wed, Sep 9, 2015 at 4:16 PM, Martijn van de Rijdt martijn@enketo.org wrote:

Hi ODK Devs,

I am working on various custom analog scale widgets for a client that
requires multiple user-editable label segments to be added to an integer
question. One of the things this project needs to solve might very well be
relevant to something you have encountered or may encounter in the future.
Therefore, I wanted to see if you have any feedback.

The solution I am thinking of is pretty simple. Put all text inside a single
[label] but use a pipe | separator, e.g.

This is the main label | This is the sub label | Text for top of
scale | Text for bottom of scale

If somebody has solved this requirement previously, I would probably prefer
to adopt that solution, so please let me know. Otherwise, any thoughts about
this approach?

Cheers,
Martijn

--
Revolutionizing data collection since 2012.

Enketo | LinkedIn | GitHub | Twitter | Blog

--
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.

Thanks Yaw,

Yes, it could be done in hints as well. That might be better maybe
depending on the semantics of the 4 pieces of text. Thanks!

Only this particular widget (and possible future ones) will look for the
text separator and split the label (and/or hint) to extract the 4 different
parts. A likert widget will just not look for the separator and continue to
have only one label and one hint.

Cheers,
Martijn

··· On Fri, Sep 11, 2015 at 6:43 AM, Yaw Anokwa wrote:

Martijn,

Hints are already sub-labels. Why not use hints?

Do you have a sketch of how this will look like in a UI for the
top/bottom of the scale?

What happens if you want to represent something like a likert scale?

Yaw

Need ODK services? http://nafundi.com provides form design, server
setup, professional support, and software development for ODK.

On Wed, Sep 9, 2015 at 4:16 PM, Martijn van de Rijdt martijn@enketo.org wrote:

Hi ODK Devs,

I am working on various custom analog scale widgets for a client that
requires multiple user-editable label segments to be added to an integer
question. One of the things this project needs to solve might very well
be
relevant to something you have encountered or may encounter in the
future.
Therefore, I wanted to see if you have any feedback.

The solution I am thinking of is pretty simple. Put all text inside a
single
[label] but use a pipe | separator, e.g.

This is the main label | This is the sub label | Text for top of
scale | Text for bottom of scale

If somebody has solved this requirement previously, I would probably
prefer
to adopt that solution, so please let me know. Otherwise, any thoughts
about
this approach?

Cheers,
Martijn

--
Revolutionizing data collection since 2012.

Enketo | LinkedIn | GitHub | Twitter | Blog

--
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.

--
You received this message because you are subscribed to a topic in the
Google Groups "ODK Developers" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit-developers/FbMQ3usvrWY/unsubscribe
.
To unsubscribe from this group and all its topics, send an email to
opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

Revolutionizing data collection since 2012.

Enketo https://enketo.org/ | LinkedIn
http://www.linkedin.com/company/enketo-llc | GitHub
https://github.com/enketo | Twitter https://twitter.com/enketo
| Blog http://blog.enketo.org/

Every time I've done this sort of thing, it's ends up being fragile.
For that reason, I don't love putting separate labels in the same
slot.

That said, I can't think of a better alternative. Maybe key:value
pairs (e.g., topLabel, bottomLabel) as attributes on the node?

Yaw

··· -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Fri, Sep 11, 2015 at 12:16 PM, Martijn van de Rijdt martijn@enketo.org wrote:

Thanks Yaw,

Yes, it could be done in hints as well. That might be better maybe depending
on the semantics of the 4 pieces of text. Thanks!

Only this particular widget (and possible future ones) will look for the
text separator and split the label (and/or hint) to extract the 4 different
parts. A likert widget will just not look for the separator and continue to
have only one label and one hint.

Cheers,
Martijn

On Fri, Sep 11, 2015 at 6:43 AM, Yaw Anokwa yanokwa@nafundi.com wrote:

Martijn,

Hints are already sub-labels. Why not use hints?

Do you have a sketch of how this will look like in a UI for the
top/bottom of the scale?

What happens if you want to represent something like a likert scale?

Yaw

Need ODK services? http://nafundi.com provides form design, server
setup, professional support, and software development for ODK.

On Wed, Sep 9, 2015 at 4:16 PM, Martijn van de Rijdt martijn@enketo.org wrote:

Hi ODK Devs,

I am working on various custom analog scale widgets for a client that
requires multiple user-editable label segments to be added to an integer
question. One of the things this project needs to solve might very well
be
relevant to something you have encountered or may encounter in the
future.
Therefore, I wanted to see if you have any feedback.

The solution I am thinking of is pretty simple. Put all text inside a
single
[label] but use a pipe | separator, e.g.

This is the main label | This is the sub label | Text for top of
scale | Text for bottom of scale

If somebody has solved this requirement previously, I would probably
prefer
to adopt that solution, so please let me know. Otherwise, any thoughts
about
this approach?

Cheers,
Martijn

--
Revolutionizing data collection since 2012.

Enketo | LinkedIn | GitHub | Twitter | Blog

--
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.

--
You received this message because you are subscribed to a topic in the
Google Groups "ODK Developers" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit-developers/FbMQ3usvrWY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Revolutionizing data collection since 2012.

Enketo | LinkedIn | GitHub | Twitter | Blog

--
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.

Yes, I agree. Multiple labels or non-main-level-label attributes would be a
more solid way of going about this.

Thanks

··· On Sun, Sep 13, 2015 at 6:49 PM, Yaw Anokwa wrote:

Every time I've done this sort of thing, it's ends up being fragile.
For that reason, I don't love putting separate labels in the same
slot.

That said, I can't think of a better alternative. Maybe key:value
pairs (e.g., topLabel, bottomLabel) as attributes on the node?

Yaw

Need ODK services? http://nafundi.com provides form design, server
setup, professional support, and software development for ODK.

On Fri, Sep 11, 2015 at 12:16 PM, Martijn van de Rijdt martijn@enketo.org wrote:

Thanks Yaw,

Yes, it could be done in hints as well. That might be better maybe
depending
on the semantics of the 4 pieces of text. Thanks!

Only this particular widget (and possible future ones) will look for the
text separator and split the label (and/or hint) to extract the 4
different
parts. A likert widget will just not look for the separator and continue
to
have only one label and one hint.

Cheers,
Martijn

On Fri, Sep 11, 2015 at 6:43 AM, Yaw Anokwa yanokwa@nafundi.com wrote:

Martijn,

Hints are already sub-labels. Why not use hints?

Do you have a sketch of how this will look like in a UI for the
top/bottom of the scale?

What happens if you want to represent something like a likert scale?

Yaw

Need ODK services? http://nafundi.com provides form design, server
setup, professional support, and software development for ODK.

On Wed, Sep 9, 2015 at 4:16 PM, Martijn van de Rijdt < martijn@enketo.org> wrote:

Hi ODK Devs,

I am working on various custom analog scale widgets for a client that
requires multiple user-editable label segments to be added to an
integer
question. One of the things this project needs to solve might very
well
be
relevant to something you have encountered or may encounter in the
future.
Therefore, I wanted to see if you have any feedback.

The solution I am thinking of is pretty simple. Put all text inside a
single
[label] but use a pipe | separator, e.g.

This is the main label | This is the sub label | Text for top
of
scale | Text for bottom of scale

If somebody has solved this requirement previously, I would probably
prefer
to adopt that solution, so please let me know. Otherwise, any thoughts
about
this approach?

Cheers,
Martijn

--
Revolutionizing data collection since 2012.

Enketo | LinkedIn | GitHub | Twitter | Blog

--
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.

--
You received this message because you are subscribed to a topic in the
Google Groups "ODK Developers" group.
To unsubscribe from this topic, visit

https://groups.google.com/d/topic/opendatakit-developers/FbMQ3usvrWY/unsubscribe
.

To unsubscribe from this group and all its topics, send an email to
opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Revolutionizing data collection since 2012.

Enketo | LinkedIn | GitHub | Twitter | Blog

--
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.

--
You received this message because you are subscribed to a topic in the
Google Groups "ODK Developers" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit-developers/FbMQ3usvrWY/unsubscribe
.
To unsubscribe from this group and all its topics, send an email to
opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

Revolutionizing data collection since 2012.

Enketo https://enketo.org/ | LinkedIn
http://www.linkedin.com/company/enketo-llc | GitHub
https://github.com/enketo | Twitter https://twitter.com/enketo
| Blog http://blog.enketo.org/