← Back to team overview

dhis2-devs team mailing list archive

Program Rules are not working on Dropdowns(Event/Tracker )



Can anybody tell how to create program rules for dropdowns. As i am doing
it in following way:


#{bcg} == 'No' || #{bcg} == 'Yes'  then Hide some field.

No/Yes are values from dropdown.

I am using https://play.dhis2.org/demo link.
[image: Inline image 1]

But this expression is not working. I have tried on other dropdowns also
but doesn't get the output.

Thanks & Regrads,
Sourabh Bhardwaj.

PNG image

Follow ups