private function loadForm() { // create the form $this->frm = new FrontendForm('resendActivation', null, null, 'resendActivation'); // create & add elements $this->frm->addText('email')->setAttributes(array('required' => null, 'type' => 'email')); }