Re: [Dhis2-users] Program rule does not seem to be working

2015-09-21 Thread Pramil Liyanage
You are welcome. Same thing happened in an earlier build and I replaced
with the latest at that time which was 19876 and worked for me. Did not try
19884. May be the same issue repeating.

Pramil

On Mon, Sep 21, 2015 at 9:01 PM, Ese Egerega  wrote:

> Thanks Pramil,
>
> Using single quotes and clearing my cache fixed the problem for me.
>
> However, it appears that the very latest build version 19884 has a
> problem with program rules. When you create and add a rule, it
> disappears. I tested this on dhis2 demo site and got the same result. I
> have copied the developers list in case this is a bug that needs to be
> fixed.
>
> Thanks again,
>
> -Ese
>
> On Mon, Sep 21, 2015 at 4:06 AM, Ese Egerega  wrote:
>
>> Thanks so much Pramil. I will try that now.
>>
>> -Ese
>>
>> On Mon, Sep 21, 2015 at 3:45 AM, Pramil Liyanage 
>> wrote:
>>
>>> Dear Ese,
>>>
>>> Try with single quotations 'Female' and clear the cache and try.
>>> If not working, get the latest build and try. I also had a similar issue
>>> with an older build, but when I replaced with the latest, worked fine.
>>>
>>> Regards
>>> Pramil
>>>
>>> On Mon, Sep 21, 2015 at 8:00 AM, Ese Egerega  wrote:
>>>
 Dear all,

 The Program Rule feature does not seem to be working for me. I am
 trying to hide a section in the tracker based on if the Gender selected
 during program registration is Female.

 To achieve this, I created a program rule that should hide the section
 but nothing seem to happen in Tracker Capture. The section is still
 displayed as if there is no rule set.

 In program rule I entered Gender as source field and used the following
 as my expression:

 A{Gender} == "Female"

 I will appreciate any assistance.

 Thanks,
 Ese



 ___
 Mailing list: https://launchpad.net/~dhis2-users
 Post to : dhis2-users@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-users
 More help   : https://help.launchpad.net/ListHelp


>>>
>>>
>>> --
>>> 
>>>
>>
>>
>


-- 

___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Program rule does not seem to be working

2015-09-21 Thread Ese Egerega
Thanks Pramil,

Using single quotes and clearing my cache fixed the problem for me.

However, it appears that the very latest build version 19884 has a problem
with program rules. When you create and add a rule, it disappears. I tested
this on dhis2 demo site and got the same result. I have copied the
developers list in case this is a bug that needs to be fixed.

Thanks again,

-Ese

On Mon, Sep 21, 2015 at 4:06 AM, Ese Egerega  wrote:

> Thanks so much Pramil. I will try that now.
>
> -Ese
>
> On Mon, Sep 21, 2015 at 3:45 AM, Pramil Liyanage 
> wrote:
>
>> Dear Ese,
>>
>> Try with single quotations 'Female' and clear the cache and try.
>> If not working, get the latest build and try. I also had a similar issue
>> with an older build, but when I replaced with the latest, worked fine.
>>
>> Regards
>> Pramil
>>
>> On Mon, Sep 21, 2015 at 8:00 AM, Ese Egerega  wrote:
>>
>>> Dear all,
>>>
>>> The Program Rule feature does not seem to be working for me. I am trying
>>> to hide a section in the tracker based on if the Gender selected during
>>> program registration is Female.
>>>
>>> To achieve this, I created a program rule that should hide the section
>>> but nothing seem to happen in Tracker Capture. The section is still
>>> displayed as if there is no rule set.
>>>
>>> In program rule I entered Gender as source field and used the following
>>> as my expression:
>>>
>>> A{Gender} == "Female"
>>>
>>> I will appreciate any assistance.
>>>
>>> Thanks,
>>> Ese
>>>
>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-users@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> 
>>
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Program rule does not seem to be working

2015-09-20 Thread Pramil Liyanage
Dear Ese,

Try with single quotations 'Female' and clear the cache and try.
If not working, get the latest build and try. I also had a similar issue
with an older build, but when I replaced with the latest, worked fine.

Regards
Pramil

On Mon, Sep 21, 2015 at 8:00 AM, Ese Egerega  wrote:

> Dear all,
>
> The Program Rule feature does not seem to be working for me. I am trying
> to hide a section in the tracker based on if the Gender selected during
> program registration is Female.
>
> To achieve this, I created a program rule that should hide the section but
> nothing seem to happen in Tracker Capture. The section is still displayed
> as if there is no rule set.
>
> In program rule I entered Gender as source field and used the following as
> my expression:
>
> A{Gender} == "Female"
>
> I will appreciate any assistance.
>
> Thanks,
> Ese
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 

___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Program rule does not seem to be working

2015-09-20 Thread Ese Egerega
Thanks so much Pramil. I will try that now.

-Ese

On Mon, Sep 21, 2015 at 3:45 AM, Pramil Liyanage  wrote:

> Dear Ese,
>
> Try with single quotations 'Female' and clear the cache and try.
> If not working, get the latest build and try. I also had a similar issue
> with an older build, but when I replaced with the latest, worked fine.
>
> Regards
> Pramil
>
> On Mon, Sep 21, 2015 at 8:00 AM, Ese Egerega  wrote:
>
>> Dear all,
>>
>> The Program Rule feature does not seem to be working for me. I am trying
>> to hide a section in the tracker based on if the Gender selected during
>> program registration is Female.
>>
>> To achieve this, I created a program rule that should hide the section
>> but nothing seem to happen in Tracker Capture. The section is still
>> displayed as if there is no rule set.
>>
>> In program rule I entered Gender as source field and used the following
>> as my expression:
>>
>> A{Gender} == "Female"
>>
>> I will appreciate any assistance.
>>
>> Thanks,
>> Ese
>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> 
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] Program rule does not seem to be working

2015-09-20 Thread Ese Egerega
Dear all,

The Program Rule feature does not seem to be working for me. I am trying to
hide a section in the tracker based on if the Gender selected during
program registration is Female.

To achieve this, I created a program rule that should hide the section but
nothing seem to happen in Tracker Capture. The section is still displayed
as if there is no rule set.

In program rule I entered Gender as source field and used the following as
my expression:

A{Gender} == "Female"

I will appreciate any assistance.

Thanks,
Ese
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp