Checkbox lookup tables

Hi all,

I have few categories as multiple choice lookup tablets in my application
and then every category has a number of sub-categories which are properly
linked with main category. At end use application when i select one
category then it works perfectly while i select more than one main
categories then nothing shows up. Please find attached the structure of my
tables.

Additionally i have implemented cascading on Province, District and
Mohalleh. This cascading is perfectly working for district while it give me
error “scr:jr//fixture/item:list:Mohalleh” at the start of application
whenever i include Mohalleh in application. Can some help me out to resolve
this problem.

Best,
Raheel

hhp_fixtures.xlsx (9.34 KB)

Hi Raheel,

How are you detecting multiple selections from the list? Generally speaking
using an equality check (IE: “/data/values_chosen= ‘foo’”) won’t work
since, the value has more than one result. There is a selected() function
https://confluence.dimagi.com/display/commcarepublic/CommCare+Functions#CommCareFunctions-selected
that
you can use to check whether a value was chosen if more than one is
possible.

Sorry for the trouble with the cascading list options. Can you open an
issue in CommCare HQ? that will let our team see what project space the
lookup table is configured in and look for configuration problems.

-Clayton

··· On Wed, Aug 17, 2016 at 9:01 AM, Raheel Ayaz wrote:

Hi all,

I have few categories as multiple choice lookup tablets in my application
and then every category has a number of sub-categories which are properly
linked with main category. At end use application when i select one
category then it works perfectly while i select more than one main
categories then nothing shows up. Please find attached the structure of my
tables.

Additionally i have implemented cascading on Province, District and
Mohalleh. This cascading is perfectly working for district while it give me
error “scr:jr//fixture/item:list:Mohalleh” at the start of application
whenever i include Mohalleh in application. Can some help me out to resolve
this problem.

Best,
Raheel


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.