dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #16112
Re: Program rule Assign
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 <riddyndoma@xxxxxxxxx>:
>
> 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-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help : https://help.launchpad.net/ListHelp
Follow ups
References