/** * Overrided to add wrapper with id attribute. Fix for the depends option. */ protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element) { $html = parent::_getElementHtml($element); return '<div id="' . $element->getHtmlId() . '">' . $html . '</div>'; }