Magento: Show/Hide Admin Form fields using Javascript
Scenario: In Magento Admin form, you have two fields. One is a select field and let the other field be a text field. Now, you want to show/hide the text field based upon the option selected in the select field. Solution: There are two ways to achieve this. You can either use setAfterElementHtml or addFieldMap … Read more