'Member has changed Company at mncar.org' ); /** * @param $form Form * @return Form */ function _bindFormFields($form) { $form->addElement('text', 'name', 'Company Name'); $form->addRuleRequired(array('name')); $companyTypes = $this->DBObj->getDCompanyType4Select(); $companyTypes = array_values($companyTypes); $companyTypes = array_combine($companyTypes, $companyTypes); $companyTypes['Other'] = 'Other'; $form->addElement('select', 'type', 'Company Type', $companyTypes); $form->addElement('extended_text', 'website', 'Company Web Site', array('style'=>'width:245px;'), 'http://'); $form->addElement('header', 'header_company_notes', 'COMPANY NOTES'); $form->addElement('textarea', 'note', null, array('style'=>'width:99%; height:100px;')); $form->setSubmitTitle('Submit'); $form->setCancelType(''); return $form; } }