Selecting OTHER in lookup tables

I have two lookup tables that have “other” as an option. If other is
selected, I want a text question to display next allowing the user to input
the village or clinic that we did not have in the list. Is this possible? I
created the text question and display logic but it is not showing up on the
phone when I test. (We’re on feature phones running Java.) I have tried
this in demo mode and live mode, and I have tried the following two display
logic options while trying to figure this out:

  • /data/village = ‘other’
  • selected(/data/village, ‘other’)

There are around 118 villages in the district, though the list the
organization is working from does not match up with what CHWs are entering
in the field. I want lookup tables so that we can include the villages and
clinics we know about while allowing CHWs to enter others.

I didn’t find any info on the wiki or in the Google group. Is this a bug or
is there a better way for me to accomplish this? Thank you in advance for
any guidance!

Katie

Hi Katie,

It sounds like what you’re describing should definitely be working, sorry
for the trouble!

Can you confirm that the ‘other’ option for your question (/data/village)
has the ID ‘other’ all lowercase, and not something like ‘Other’? The ID’s
are case sensitive in this context.

-Clayton

··· On Sun, Nov 8, 2015 at 11:38 AM, Kathryn Cicerchi wrote:

I have two lookup tables that have “other” as an option. If other is
selected, I want a text question to display next allowing the user to input
the village or clinic that we did not have in the list. Is this possible? I
created the text question and display logic but it is not showing up on the
phone when I test. (We’re on feature phones running Java.) I have tried
this in demo mode and live mode, and I have tried the following two display
logic options while trying to figure this out:

  • /data/village = ‘other’
  • selected(/data/village, ‘other’)

There are around 118 villages in the district, though the list the
organization is working from does not match up with what CHWs are entering
in the field. I want lookup tables so that we can include the villages and
clinics we know about while allowing CHWs to enter others.

I didn’t find any info on the wiki or in the Google group. Is this a bug
or is there a better way for me to accomplish this? Thank you in advance
for any guidance!

Katie


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.