I want to have Two attributes include “State” and “City”.
when I select a specific State it shows me cities of that State,
Is it possible in dhis2?
Yes it is possible, by creating Two Option sets State and City.
Based on relation of each state and cities you create program rule for show and hide item or items in the city drop down.
Note: In and above 2.30, the Program rules are based on Code of option set.
Thanks a lot for your immediate answer,
I will check and write program rule.
i hope to succeed
Thank you for posting, I’ll be using this information as well!
I am trying to create a dependant list using drug regimens where if I select for example “Adult first line regimens” from a drop down list in a field called “Regimen Class”, the next field called “Regimens” should only show drug regimens in that class.
I am completely new to this and trying to read up on the documentation.
Your guidance and help would be most appreciated.