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 ndoma <riddynd...@gmail.com>:
> 
> 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 GUI. I put 1 in the expression to assign, the display does not 
> check "Yes" but it shows me "No" with a funny format (see picture )
> <pr.png>
> ​
> Cheers,
> 
> -- 
> Riddy NDOMA 
> Skype: riddyndoma, G+: riddyndoma, FB: riddy ndoma
> Twitter: riddyndoma, LinkedIn: riddy ndoma
> Blog: http://riddyndoma.blogspot.com/
> Vous servir est mon désire (Serving you is my desire)
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to