private function _enableAutoSubmitElement($element)
    {
        if ($element instanceof \Zend_Form || $element instanceof \Zend_Form_DisplayGroup) {
            foreach ($element->getElements() as $sub) {
                $this->_enableAutoSubmitElement($sub);
            }
        } elseif ($element instanceof \Gems_Form_AutosubmitElementInterface) {
            $element->enableAutoSubmit($this->_autosubmit);
        }
    }