when I select live births - All options should show,
when I select fresh still birth all options should hide except birth weight
When I select Macerted still birth all options should hide.
Sorry could you explain this rule that’s already working?
Please share all the related rules that are already hiding/showing fields because it seems like these rules could be configured differently. I mean, for example, if selecting one of the options hides the fields then changing the selection should simply stop the effect of the other option
I believe you need to create three program rules for each option, and you need to play/ change the program rule expression (The condition), and change the program rule action (The filter) accordingly.
Please let me know if you require any further assistance or clarification.
If you need more details, please do not hesitate to contact me.
Hi @udakaya, you can try creating Option Groups that consist of a subset of the options relating to what is selected, then in the Program Rule have the Action as ‘Show option group’ to only show the Options in the Group.
This is what we have been using relatively successfully for a few years now, for Data Elements with Value type = Text & linked to an OptionSet that we use in Programs.
Feel free to DM me if you would like further info/help, happy to assist