CommCare Branching Logic Question

Hi Elaine,

I’m including commcare-users google group, and someone should be able to
answer shortly.

Thanks,
-Carter

··· On Wed, Jun 11, 2014 at 3:01 PM, Elaine Ezekiel wrote:

Hello Carter,

I hope you are well.

If you have a moment, I would really appreciate your advice, specifically,
on building branching logic into a CommCare form.

Here’s the situation:

I am making a form that Promotoras use during follow up. The first

question asks if they’ve successfully contacted a participant for a follow
up (“yes” or “no”).

If they *have *(“yes”), the form goes on to several more detailed follow
up questions.

If they *have not *(“no”), then I would like the question logic to skip
to one final question regarding how they attempted to contact the
participant, and then I want the form to be considered complete at that
point-- after only two questions.

Could you please offer some guidance on how I can complete this?

Best regards,
Elaine Ezekiel
Training and Development Specialist
MHP, Inc.
2111 Golfside Drive
Suite 2B
Ypsilanti, MI 48197
800-461-8394 ext. 1016
eezekiel@mhpsalud.org

Hi Elaine,

You can use something called “display conditions” to determine when
questions are displayed in the form based on answers to previous questions.

I think it would be helpful for you to take a look at our set of tutorials:
https://help.commcarehq.org/display/commcarepublic/Application+Building+Tutorial+Series

Here is the section that specifically details how to use display conditions
to achieve the branching logic you want:
https://help.commcarehq.org/display/commcarepublic/Beginner+Tutorial+Part+5+-+Adding+Complexity+to+a+Form

Good luck!
Amelia

··· On Wed, Jun 11, 2014 at 3:43 PM, Carter Powers wrote:

Hi Elaine,

I’m including commcare-users google group, and someone should be able to
answer shortly.

Thanks,
-Carter

On Wed, Jun 11, 2014 at 3:01 PM, Elaine Ezekiel eezekiel@mhpsalud.org wrote:

Hello Carter,

I hope you are well.

If you have a moment, I would really appreciate your advice,
specifically, on building branching logic into a CommCare form.

Here’s the situation:

I am making a form that Promotoras use during follow up. The first

question asks if they’ve successfully contacted a participant for a follow
up (“yes” or “no”).

If they *have *(“yes”), the form goes on to several more detailed
follow up questions.

If they *have not *(“no”), then I would like the question logic to skip
to one final question regarding how they attempted to contact the
participant, and then I want the form to be considered complete at that
point-- after only two questions.

Could you please offer some guidance on how I can complete this?

Best regards,
Elaine Ezekiel
Training and Development Specialist
MHP, Inc.
2111 Golfside Drive
Suite 2B
Ypsilanti, MI 48197
800-461-8394 ext. 1016
eezekiel@mhpsalud.org


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 Elaine,

There is a question type called “group” in the form builder. You can put
questions inside a group, kind of like files in a folder. Any display
condition you add to the group will automatically apply to every question
in the group.

Hope this helps!

Amelia

··· On Wed, Jun 11, 2014 at 4:30 PM, Elaine Ezekiel wrote:

Thank you for your quick response, Amelia.

I am familiar with display conditions, but I am missing how I can
effectively split the questions into branches in one step-- meaning,
without altering the display condition for every single question.

Is this possible?

Best,
Elaine

On Wed, Jun 11, 2014 at 3:49 PM, Amelia Sagoff asagoff@dimagi.com wrote:

Hi Elaine,

You can use something called “display conditions” to determine when
questions are displayed in the form based on answers to previous questions.

I think it would be helpful for you to take a look at our set of
tutorials:
https://help.commcarehq.org/display/commcarepublic/Application+Building+Tutorial+Series

Here is the section that specifically details how to use display
conditions to achieve the branching logic you want:
https://help.commcarehq.org/display/commcarepublic/Beginner+Tutorial+Part+5+-+Adding+Complexity+to+a+Form

Good luck!
Amelia

On Wed, Jun 11, 2014 at 3:43 PM, Carter Powers cpowers@dimagi.com wrote:

Hi Elaine,

I’m including commcare-users google group, and someone should be able to
answer shortly.

Thanks,
-Carter

On Wed, Jun 11, 2014 at 3:01 PM, Elaine Ezekiel eezekiel@mhpsalud.org wrote:

Hello Carter,

I hope you are well.

If you have a moment, I would really appreciate your advice,
specifically, on building branching logic into a CommCare form.

Here’s the situation:

I am making a form that Promotoras use during follow up. The first

question asks if they’ve successfully contacted a participant for a follow
up (“yes” or “no”).

If they *have *(“yes”), the form goes on to several more detailed
follow up questions.

If they *have not *(“no”), then I would like the question logic to
skip to one final question regarding how they attempted to contact the
participant, and then I want the form to be considered complete at that
point-- after only two questions.

Could you please offer some guidance on how I can complete this?

Best regards,
Elaine Ezekiel
Training and Development Specialist
MHP, Inc.
2111 Golfside Drive
Suite 2B
Ypsilanti, MI 48197
800-461-8394 ext. 1016
eezekiel@mhpsalud.org


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.


Elaine Ezekiel
Training and Development Specialist
MHP, Inc.
2111 Golfside Drive
Suite 2B
Ypsilanti, MI 48197
800-461-8394 ext. 1016
eezekiel@mhpsalud.org