Advanced form display condition

20 views
Skip to first unread message

Prachi Patel

unread,
Apr 14, 2017, 7:44:50 AM4/14/17
to commcare-users
Hi,
I have been trying to add display conditions to forms. This is the condition I have put:

(./interested_growing_crops=1 or ./Crops_grown=1) and ./Mini_reset=0

However, when deployed the form does not appear. All the 3 variables have been added as case management to the respective forms. Please help us on how we can solve it. 

Thanks,
Prachi

Clayton Sims

unread,
Apr 14, 2017, 9:25:21 AM4/14/17
to commcare-users
Hi Prachi,

I don't see anything that's clearly incorrect about the expression you've placed on the forms.

I think my first suggestion would be to add a form to your module quickly that just displays the output of each one of those variables and runs the expression inside of the form to ensure that the data looks correct as a quick double-check, or potentially add each one of those variables to the Case Detail screen you see before the module is shown. 

If the variables are showing up correctly in the case detail or form and the expression isn't behaving as expected, I'd submit a ticket on CommCareHQ since the support team could review the data more directly.

-Clayton

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

Prachi Patel

unread,
Apr 15, 2017, 3:06:19 PM4/15/17
to commcare-users
Hey Clayton,
Thanks for the help. It is sorted now. Tried doing it using labels. 

Thanks,
Prachi

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 a topic in the Google Groups "commcare-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/commcare-users/-uP2tAMzLgM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to commcare-user...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages