Dynamic Form Field appearence

Situation
Hello, I have made an xml form according to this:
https://www.open-emr.org/wiki/index.php/OpenEMR_Xml_Form_Generator

Among others I have a drop down list with yes/no values and a Date Field. I want the Date Field to be hidden when the drop down has the value of “No” and visible when the drop down has the value of “Yes”.
How can I achieve it?

Thanks

OpenEMR Version
OpenEmr 6.0.0

Browser:
Firefox 10

Operating System
Debian 10