Organization of forms in to a sequence

Hello everyone!

I'm looking into having my forms to have like a "conditional" logic.

Example: Form A is completed, then Form B. But based on the answers on Form
B, the next form could either be Form C1 or Form C2

Is this possible?

Dana,

The standard way to implement this would be using case properties and form
display conditions
https://confluence.dimagi.com/display/commcarepublic/Form+Display+Conditions
.

You could have some case property named (for example) 'next_form' that you
set in each form based on the answers given. For example, 'Form A' would
always set this value to 'B' while Form B would set it to 'C1' or 'C2'
based on the answers to Form B.

Then each form would have a display condition checking this property. For
example, Form B's display condition would be:

./next_form = 'B'

Hope this helps!

Cheers,
Will

ยทยทยท On Fri, Nov 18, 2016 at 7:35 AM, Dana Palisoc wrote:

Hello everyone!

I'm looking into having my forms to have like a "conditional" logic.

Example: Form A is completed, then Form B. But based on the answers on
Form B, the next form could either be Form C1 or Form C2

Is this possible?

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