protected function _postBind() { $this->getElement("submit")->setType(FormElement::BUTTON)->addAttribute("class", "btn js-btn-loading")->addAttribute("data-loading-text", "Submitting"); return parent::_postBind(); }