Error when assigning more than one option to multi-select field in the Android capture app

Hi,

I have a problem with assigning more than one option to a multi-select field in Android capture app. When assigning more than one option (let’s assume 2 options), the Android app complains that “Value for field X does not belong to the option set in Y. Program rule Z is trying to assign value OPTION_CODE_1,OPTION_CODE_2 which does not belongs to option set Y.”

Despite the repetitive “Check this!” pop-ups, the multi-select field is filled correctly. It is also noteworthy that it works totally fine in the web version of the Capture (105.2.8) but not in the Android version of capture (v3.3.1).

To Reproduce
Steps to reproduce the behavior:

  1. Create a multi-select field with 3 options: A (CODE_A), B (CODE_B), and C (CODE_C)
  2. Create a program rule to assign options A and C as “CODE_A,CODE_C”
  3. Create an event in the Android capture app.
  4. See error

Expected behavior
No “Check this!” pop-ups.

Is there any way to silence these program rule checking errors to ignore incorrect errors?

Hi
Thanks for reporting this. It has been triaged to @dhis2-android and it appears you’ve created a bug ticket as well (https://dhis2.atlassian.net/browse/ANDROAPP-7546) which is good and clearly explained.

Good question.. this is an issue that the Android team is looking into and it has been addressed here: Androiud Capture Program rule validation - Training APK displays errors - #2 by vgarciabnz

Thank you!

1 Like

Hi Gassim,

Thanks for your reply with the link to the other topic, it seems that the issue with verbosity is something relatively old. I hope in future releases, it become possible to reduce verbosity as an option in the “Android Settings” application.

1 Like