setName('lostpwd'); $email=new Zend_Form_Element_Text('email'); $email->setLabel('E-Mail') ->setRequired(true) ->addFilter('StringTrim') ->addValidator('NotEmpty') ->addValidator('EmailAddress'); $submit = new Zend_Form_Element_Submit('submit'); $submit->setLabel('重设密码'); $submit->setAttrib('id', 'submitbutton'); $this->addElements(array($email, $submit)); $this->clearDecorators(); $this->addDecorator('FormElements') ->addDecorator('HtmlTag', array('tag' => '