So I have a custom field which is basically a Bool field that hides and shows a dropdown. This is not just one custom field. I made a Field Type like Dynamicenum or Address so i can manage it via Studio. Until now i had my js code (to hide and show) inside the EditView.tpl.
What is the right way to add JS code to my field?
Thanks in advance
Velrest