Dynamically enable and disable input fieild in event app

/i



As the picture shows
In event app I have a field called “PARTICPANT FACILITY/ORGANIZATION TYPE”, if in the dropdown “Other” is selected, I want the field below it named “If Other Specify here:” to be enabled Other than that circumstance The field should be disabled. How should I do it

Hi @Eyuel_Nigussie

Thanks for the post… :slight_smile: What you are looking for can be achieved using a program rule. You’d create a program rule expression that states that if the “participant facility/organization type” is not Other then the action would be to hide the data element field.

You can read more about this option here: Programs - DHIS2 Documentation

Here’s a video demonstration from the Tracker Configuration Academy 2022 on DHIS2’s YouTube channel: