I have a problem with setting mandatory rules. Here is the scenario:
I have two questions of which the second question is affected based on the answer to the first question.
- Do you suffer from diabetes Yes No (Data element of value type yes/no)
- If Yes Is diabetes controlled Yes No (Data element of value type yes/no)
When answer to Q1 is “No” Q2 is hidden and when answer to Q1 is “Yes” Q2 is mandatory
Now when I answer Yes to Q1 Q2 becomes mandatory which is fine BUT when I change to “No” Q2 is hidden but still stays mandatory. This started happened when I upgraded to Capture 2.6 and dhis2 server 184.108.40.206 Build 57f2dac.
Please help or it it a bug?