Android - Hide/Show Options for Multi Text

Hi,

I am currently working in an implementation where we need to hide and show certain options for data elements that are “MULTI TEXT”.

For this task, I have simply created a program rule that hides options depending on the user role, which in web, it works 100%, but for some reason, it does not work in Android if the data element is “Multi Text”.

I tried with 3 possible combinations to achieve this:

  1. Show Option Group
  2. Hide Option Group
  3. Hide the individual options

However, that did not do the trick. Here is an example of how it looks in the Capture App versus the Android App:

Capture App

Android App:

Notice that the options IO Access and Cardiac Monitoring are not appearing in Capture but not in Android

Additional information
DHIS2 version: 2.41.5
Capture version: 103.3.0
Android version: 3.2.1.1

2 Likes

Hi @Juan_Flamenco!

I just checked the code and there is indeed a bug on how the option rules are applied to the multitext value type. We will be fixing a soon as possible.

I’ll share the jira link once it’s created. This is the jira ticket.

Thanks for sharing! :slight_smile:

3 Likes