# Form Condition logic NOT WORKING in Bahmni Connect

**URL:** <https://talk.openmrs.org/t/form-condition-logic-not-working-in-bahmni-connect/16294>\
**Category:** Bahmni\
**Tags:** bahmni-connect\
**Created:** [February 23, 2018, 10:24am UTC](https://talk.openmrs.org/t/form-condition-logic-not-working-in-bahmni-connect/16294 "2018-02-23T10:24:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pkanchankar](https://talk.openmrs.org/user_avatar/talk.openmrs.org/pkanchankar/32/687_2.png) [@pkanchankar](https://talk.openmrs.org/u/pkanchankar)\
**Post date:** [February 23, 2018, 10:24am UTC](https://talk.openmrs.org/t/form-condition-logic-not-working-in-bahmni-connect/16294/1 "2018-02-23T10:24:39Z")

</div>

We are using Bahmni Connect Android app for a remote clinic setup. However, we discovered that Form Conditions logic for Show/Hide does not work on Android app nor on PWA. The same configuration works in the online version though. See below screenshots:   
**Screenshot of Online version:   
 Form Condition logic is working here**

 ![Form_condition_Bahmni_Online](https://talk.openmrs.org/uploads/default/original/2X/6/6ae8d9110c57cbc7e94d4c44323b5afec21239b3.png)

**Screenshot of Android App**   
All form fields are shown by default   
 ![Form_condition_Bahmni_Connect_andriod_app](https://talk.openmrs.org/uploads/default/original/2X/1/1ed0b9c23351814b256470be891fe1d1aaed5b8d.png)

  
Is this a regression issue or this was never implemented? We are using Bahmni version 0.89 and Android App 0.89-166 @binduak @shruthipitta can you please check?   
@angshuonline is this feature used in Bangladesh implementation?

---

<div class="post-metadata">

**Author:** ![shruthipitta](https://talk.openmrs.org/letter_avatar/shruthipitta/32/6_22734026db12803ebb3e059622ac3534.png) [@shruthipitta](https://talk.openmrs.org/u/shruthipitta)\
**Post date:** [February 26, 2018, 5:20am UTC](https://talk.openmrs.org/t/form-condition-logic-not-working-in-bahmni-connect/16294/2 "2018-02-26T05:20:44Z")

</div>

I think this is fixed in 0.90: [https://github.com/Bahmni/bahmni-connect/commit/29d04c0739905d524087cbf204cb1febb275ef2d](https://github.com/Bahmni/bahmni-connect/commit/29d04c0739905d524087cbf204cb1febb275ef2d)

---

<div class="post-metadata">

**Author:** ![ouiliam](https://talk.openmrs.org/user_avatar/talk.openmrs.org/ouiliam/32/6415_2.png) [@ouiliam](https://talk.openmrs.org/u/ouiliam)\
**Post date:** [July 5, 2018, 4:59am UTC](https://talk.openmrs.org/t/form-condition-logic-not-working-in-bahmni-connect/16294/3 "2018-07-05T04:59:11Z")

</div>

You can try manually creating copies of the relevant files (eg formconditions.js) in the same folder structure below in configuration/offline/openmrs/apps/clinical.
