Showing responses to checkbox questions in Case List/Case Detail

Hello,

I wanted to see if anyone had any experience saving responses to checkbox
questions as case properties and including it in case list/case detail.
Could this be successfully done using ID mapping, or is there another way
to do it?
Any advice would be much appreciated!

Best,
Eliza

Hi Eliza,

Yes, this is possible in exactly the way you described. You just want to
save the answer value as a case property, and then use ID mapping in the
case list/detail configuration screen to convert the saved value to the
string you'd like to display.

··· On Mon, Aug 21, 2017 at 6:53 AM, Eliza Warren-Shriner < eliza.warren.shriner@gmail.com> wrote:

Hello,

I wanted to see if anyone had any experience saving responses to checkbox
questions as case properties and including it in case list/case detail.
Could this be successfully done using ID mapping, or is there another way
to do it?
Any advice would be much appreciated!

Best,
Eliza

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

Hi Eliza,

In general you'll need to use some built in helper functions
https://confluence.dimagi.com/display/commcarepublic/CommCare+Functions#CommCareFunctions-Multi-SelectHelperFunctions
in
order to use checkbox question answers in logic. This is because these
values are stored as a list (IE 1 2 3) so referencing the values directly
doesn't work as in other question types.

Cheers,
Will

··· On Mon, Aug 21, 2017 at 6:53 AM, Eliza Warren-Shriner < eliza.warren.shriner@gmail.com> wrote:

Hello,

I wanted to see if anyone had any experience saving responses to checkbox
questions as case properties and including it in case list/case detail.
Could this be successfully done using ID mapping, or is there another way
to do it?
Any advice would be much appreciated!

Best,
Eliza

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

Hi Will,

Thanks for your response. Sounds like the way to do it would be to have a
separate hidden value for each response option with an if statement using
the "selected" helper function, then add each hidden value to the case
detail list. Not sure we'll use this, since that complicates case detail a
bit, but I'll let you know if I have additional questions.

Thanks,
Eliza

··· On Monday, August 21, 2017 at 12:57:23 PM UTC+2, William Pride wrote: > > Hi Eliza, > > In general you'll need to use some built in helper functions > in > order to use checkbox question answers in logic. This is because these > values are stored as a list (IE `1 2 3`) so referencing the values directly > doesn't work as in other question types. > > Cheers, > Will > > On Mon, Aug 21, 2017 at 6:53 AM, Eliza Warren-Shriner < eliza.warr...@gmail.com > wrote: > >> Hello, >> >> I wanted to see if anyone had any experience saving responses to checkbox >> questions as case properties and including it in case list/case detail. >> Could this be successfully done using ID mapping, or is there another way >> to do it? >> Any advice would be much appreciated! >> >> Best, >> Eliza >> >> -- >> 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. >> > >

Hi Eliza,

You could also use the 'calculate' case list display type to do this
calculation just-in-time instead of during form entry.

Cheers,
Will

··· On Mon, Aug 28, 2017 at 9:59 AM, Eliza Warren-Shriner < eliza.warren.shriner@gmail.com> wrote:

Hi Will,

Thanks for your response. Sounds like the way to do it would be to have a
separate hidden value for each response option with an if statement using
the "selected" helper function, then add each hidden value to the case
detail list. Not sure we'll use this, since that complicates case detail a
bit, but I'll let you know if I have additional questions.

Thanks,
Eliza

On Monday, August 21, 2017 at 12:57:23 PM UTC+2, William Pride wrote:

Hi Eliza,

In general you'll need to use some built in helper functions
https://confluence.dimagi.com/display/commcarepublic/CommCare+Functions#CommCareFunctions-Multi-SelectHelperFunctions in
order to use checkbox question answers in logic. This is because these
values are stored as a list (IE 1 2 3) so referencing the values directly
doesn't work as in other question types.

Cheers,
Will

On Mon, Aug 21, 2017 at 6:53 AM, Eliza Warren-Shriner < eliza.warr...@gmail.com> wrote:

Hello,

I wanted to see if anyone had any experience saving responses to
checkbox questions as case properties and including it in case list/case
detail. Could this be successfully done using ID mapping, or is there
another way to do it?
Any advice would be much appreciated!

Best,
Eliza

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

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