Showing and hiding fields in Registration dynamically when selecting element in dropdown

Tags: #<Tag:0x00007f7514af0358> #<Tag:0x00007f7514af0218>

Hi, is there a way to show/hide fields in Registration dynamically when selecting a specific element in a dropdown… I’ve been checking on the Bahmni guide but haven’t truly found what I want.

The first thing I checked is that we can show/hide a whole section by creating a attributeConditions.js like https://bahmni.atlassian.net/wiki/spaces/BAH/pages/81592373/attributesConditions.js . Can we only show/hide a single field when there’s an event change on a specific dropdown?

How can we trigger an event when selecting an item in the dropdown?

Is there something like formConditions.js (https://bahmni.atlassian.net/wiki/spaces/BAH/pages/32014552/Create+a+New+Observation+Form) for Registration?

It’s been two years, since this question asked. Has anyone have the answer to this? Even the “no we don’t support this” kind of answer will help me to stop searching.