# Program rule "hide section" and "show error" not working on 2.20

**URL:** <https://community.dhis2.org/t/program-rule-hide-section-and-show-error-not-working-on-2-20/31228>\
**Category:** Support - Assistance technique\
**Created:** [13 November 2015 06:15 UTC](https://community.dhis2.org/t/program-rule-hide-section-and-show-error-not-working-on-2-20/31228 "2015-11-13T06:15:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sergio\_Valenzuela](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/sergio_valenzuela/32/30082_2.png) [@Sergio\_Valenzuela](https://community.dhis2.org/u/Sergio_Valenzuela)\
**Post date:** [13 November 2015 06:15 UTC](https://community.dhis2.org/t/program-rule-hide-section-and-show-error-not-working-on-2-20/31228/1 "2015-11-13T06:15:32Z")

</div>

Hi all,

I am implementing a program based on single events without registration on a 2.20 version of DHIS2 (rev 19924).

I realized that the program rules I implemented are not working on the entry form at the event capture (hide section and show error):

-Hide section expession: #{absent} == ‘Yes’ (Controlled by a “yes only” type data element)

-Show error expression: #{height} \>= 55 and #{height} \<= 120 (Controlled by a number type data element)

I checked on the “Demo server” (version 2.21) and the same program rules are working fine.

I wonder if there is any chance these features could be fixed for 2.20.

Thanks in advance.

> **···**
>
> **Sergio Valenzuela**  
> Fundación EHAS  
> Telemedicina para países en desarrollo -**[www.ehas.org](http://www.ehas.org/)**
> 
> E.T.S.I. de Telecomunicación A.101-9L. Ciudad Universitaria 30, 28040 Madrid - España
> 
> Tlfno. (+34) 91 488 87 41: (+34) 687 67 17 62
> 
> ![](https://dhis2.b-cdn.net/uploads/default/original/3X/2/7/2720e258fb76e7c3f7eb52e6cabcbb75a4fb2c14.png)
