Using program rules with multi-select option sets to show conditional fields

Hi @scelo

Welcome back to the DHIS2 Community of Practice! :slight_smile: Your post is interesting, sounds like a project in the agriculture sector? :grin:

Yes, what version of DHIS2 are you using?

If you are in version 42+ you can use:

d2:containsItems(#{CropsSelected}, 'BEANS')

If you are in a previous version, please check out this suggested solution: Defining program rules for multiselect questions in dhis2 - #3 by Gassim