Best type of field for long dropdown

I have a field that I’d like to be a single select option / dropdown (still
not used to Dimagi terminology).

The options are as:
FYXXX - Region - Country - Project Name - Person assigned

If I try to do a regular select this fails as the value that goes in the DB
allows only 32 chars.

I tried using lookups, but that allows multi selects, and not one option.

What field type should I use so I can store the entire value, yes select
one option?

Hello,

I am not entirely clear on what you would like to do here. Could you
please give an example of exactly what you want both the question and
answer to look like?

··· On Mon, Jul 3, 2017 at 10:50 AM, CommCare N00b wrote:

I have a field that I’d like to be a single select option / dropdown
(still not used to Dimagi terminology).

The options are as:
FYXXX - Region - Country - Project Name - Person assigned

If I try to do a regular select this fails as the value that goes in the
DB allows only 32 chars.

I tried using lookups, but that allows multi selects, and not one option.

What field type should I use so I can store the entire value, yes select
one option?


You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Ayla Reith
Senior Field Manager | Analyste Projet
West Africa | Afrique de l’Ouest
Dimagi, Inc

m (
​Senegal
):

​​+221 77 760 74 36
​​

Skype : aylareith1
http://www.dimagi.com/

Dropdown field, with entries such as:

FY2017 - CARO - DR Congo - Project with name - Some person 1
FY2017 - WARO - Ghana - Project with name 2 - Some person 1
FY2017 - EARO - Kenya - Project with name 3 - Some person 2

··· On Monday, July 3, 2017 at 3:12:26 PM UTC+2, areith wrote: > > Hello, > > I am not entirely clear on what you would like to do here. Could you > please give an example of exactly what you want both the question and > answer to look like? > > On Mon, Jul 3, 2017 at 10:50 AM, CommCare N00b <ognen.p...@gmail.com > wrote: > >> I have a field that I'd like to be a single select option / dropdown >> (still not used to Dimagi terminology). >> >> The options are as: >> FYXXX - Region - Country - Project Name - Person assigned >> >> If I try to do a regular select this fails as the value that goes in the >> DB allows only 32 chars. >> >> I tried using lookups, but that allows multi selects, and not one option. >> >> What field type should I use so I can store the entire value, yes select >> one option? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "commcare-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to commcare-user...@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > *Ayla Reith* > Senior Field Manager | Analyste Projet > West Africa | Afrique de l'Ouest > Dimagi, Inc > ​ > m ( > *​Senegal* > ): > ​ > *​​+221 77 760 74 36* > ​​ > > Skype : aylareith1 > http://www.dimagi.com/ >

If I try multiselect, I get this error: http://imgur.com/a/KbP5a

··· On Monday, July 3, 2017 at 3:12:26 PM UTC+2, areith wrote: > > Hello, > > I am not entirely clear on what you would like to do here. Could you > please give an example of exactly what you want both the question and > answer to look like? > > On Mon, Jul 3, 2017 at 10:50 AM, CommCare N00b <ognen.p...@gmail.com > wrote: > >> I have a field that I'd like to be a single select option / dropdown >> (still not used to Dimagi terminology). >> >> The options are as: >> FYXXX - Region - Country - Project Name - Person assigned >> >> If I try to do a regular select this fails as the value that goes in the >> DB allows only 32 chars. >> >> I tried using lookups, but that allows multi selects, and not one option. >> >> What field type should I use so I can store the entire value, yes select >> one option? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "commcare-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to commcare-user...@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > *Ayla Reith* > Senior Field Manager | Analyste Projet > West Africa | Afrique de l'Ouest > Dimagi, Inc > ​ > m ( > *​Senegal* > ): > ​ > *​​+221 77 760 74 36* > ​​ > > Skype : aylareith1 > http://www.dimagi.com/ >

Hey, I think your instinct was right and that a multiple choice lookup
table will be what you need, if I’m understanding you correctly (you want
people to select a single option, right? the ‘checkbox’ lookup will allow
multiple choices, ‘multiple choice’ allows only one, perhaps not so
intuitively). I don’t know what the character limit is for a ‘name’ field
but maybe someone else can chime in. Then to make the question a dropdown
you can set the appearance attribute to ‘minimal’. This wiki page
https://confluence.dimagi.com/display/commcarepublic/Advanced+CommCare+Android+Formatting#AdvancedCommCareAndroidFormatting-AppearanceAttribute-Overview
may help you find what you’re looking for in terms of formatting.

Good luck!

Jordan

··· On Mon, Jul 3, 2017 at 6:51 PM, CommCare N00b wrote:

If I try multiselect, I get this error: http://imgur.com/a/KbP5a

On Monday, July 3, 2017 at 3:12:26 PM UTC+2, areith wrote:

Hello,

I am not entirely clear on what you would like to do here. Could you
please give an example of exactly what you want both the question and
answer to look like?

On Mon, Jul 3, 2017 at 10:50 AM, CommCare N00b ognen.p...@gmail.com wrote:

I have a field that I’d like to be a single select option / dropdown
(still not used to Dimagi terminology).

The options are as:
FYXXX - Region - Country - Project Name - Person assigned

If I try to do a regular select this fails as the value that goes in the
DB allows only 32 chars.

I tried using lookups, but that allows multi selects, and not one option.

What field type should I use so I can store the entire value, yes select
one option?


You received this message because you are subscribed to the Google
Groups “commcare-users” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to commcare-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Ayla Reith
Senior Field Manager | Analyste Projet
West Africa | Afrique de l’Ouest
Dimagi, Inc

m (
​Senegal
):

​​+221 77 760 74 36
​​

Skype : aylareith1
http://www.dimagi.com/


You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jordan Levinson
Dimagi India | Field Manager
D - 1/28 Vasant Vihar | New Delhi 110057, India
t: +91 11.46704670 | m: +91 9599692119
www.dimagi.com

- We’re hiring! Find out more here http://www.dimagi.com/about/careers/.
-