Re: [Dhis2-users] Program rule Assign

2018-07-23 Thread Markus Bekken
Hey Riddy - If I follow you correctly, the (1) in your image is assigned by a program rule, and works as expected: "(checkmark)Yes" is the way we display a Yes/No data element where"Yes" is selected and the mode is read only. Markus > 23. jul. 2018 kl. 10:48 skrev riddy ndoma

Re: [Dhis2-users] Program rule Assign

2018-07-23 Thread riddy ndoma
Hi, Marius I had done this test before I made this email, the display was not always good so much that I did not know the value that will actually be stored. The image shows the difference of (1) and (2) ​ 2018-07-23 9:21 GMT+02:00 Markus Bekken : > Hey Riddy - program rules use the values true

Re: [Dhis2-users] Program rule Assign

2018-07-23 Thread Markus Bekken
Hey Riddy - program rules use the values true and false for yes/no data elements. Try assigning true instead of 1. The display format indicates that the field is read only. Any assigned field is shown as a read only field by the data entry widget. Markus > 23. jul. 2018 kl. 05:21 skrev riddy

[Dhis2-users] Program rule Assign

2018-07-22 Thread riddy ndoma
Hello, I would like to tick Yes / No auautomatically after confirming that 4 previous data elements have values that respect a certain range. My condition is respected and the program rule works but I have a small concern for the level of value to put in the expression so that "Yes" is checked in