Hello everyone,
I’m facing an issue with a program rule in DHIS2 (version 2.40.5). My goal is to hide a field during the first event only in a Tracker program. Here’s how I’ve configured it:
- The condition used in the rule is:
V{event_count} == 1
- The action is to hide a specific field when this condition is met.
- I’ve ensured the rule is correctly saved and applied in the program.
The Problem:
- The rule doesn’t work on either the Web version or the Android app.
- I’ve tried synchronizing metadata and testing alternative configurations, but the field remains visible during the first event.
My Questions:
- Is using
V{event_count}
the correct approach to target the first event? - Are there any alternative methods or configurations to achieve this?
- Are there any known bugs with program rules in this version?
Thank you in advance for your help and suggestions!
2 posts - 2 participants