Re: [Dhis2-devs] [Dhis2-users] Program rules to show/hide sections.

2016-12-08 Thread Markus Bekken
Hi there, Aruns original problem was that he had two rules that was hiding the same section. Gitika provided a workaround, but now the underlying cause is fixed in 2.24 -> If you have the same underlying problem, your section rules should now work. If your problem persists, please send more in

Re: [Dhis2-devs] [Dhis2-users] Program rules to show/hide sections.

2016-12-08 Thread usuario tecugi
Hi all, Taking advantage of this message, we are using DHIS Version 2.24 and we have the same issue: No section is hidden. Attached you will find a screenshot. Please let us know your thoughts. Regards, On Mon, Dec 5, 2016 at 1:24 AM, Arun Paul wrote: > Thanks Gitika, > Good suggestion. This

Re: [Dhis2-devs] [Dhis2-users] Program rules to show/hide sections.

2016-12-04 Thread Arun Paul
Thanks Gitika, Good suggestion. This works for me! Cheers, - Arun Paul On Mon, Dec 5, 2016 at 12:38 PM, gitika arora wrote: > Hi Arun, > > It might help if you create your rules based on section that is to be > hidden and not based on condition. This way you will have all the > conditions to hi

Re: [Dhis2-devs] [Dhis2-users] Program rules to show/hide sections.

2016-12-04 Thread gitika arora
Hi Arun, It might help if you create your rules based on section that is to be hidden and not based on condition. This way you will have all the conditions to hide a section in one rule itself. For eg- if you create following 3 rules, these should work- Program rule 1: When 'Type of Cancer' == '

Re: [Dhis2-devs] [Dhis2-users] Program rules to show/hide sections.

2016-12-04 Thread Arun Paul
Hi Markus, I am using Tracker. Version is 2.23, but I tried this on the demo site (2.25) it's reproducible there too. It will be great to get a fix for this. Thanks, Arun Cheers, - Arun Paul On Mon, Dec 5, 2016 at 12:07 PM, Markus Bekken wrote: > Hey there Arun, > Which version of DHIS are

Re: [Dhis2-devs] [Dhis2-users] Program rules to show/hide sections.

2016-12-04 Thread Markus Bekken
Hey there Arun, Which version of DHIS are you using? And is this tracker or event capture? It seems there is a bug when several rules are working to hide or show the same section - one of the rules will always win. What should have happened is of course what you expected: The section should be h