|
|||
|
Hello,
I am trying to implement Zend_Form_Element::removeAttrib($name); am I missing something? I can not seem to get this to work. I just receive a Call to undefined method Zend_Form_Element_Password::removeAttrib() error. I am just trying to remove the id's that ZF adds to form elements. Here is the code I am using: $password = new Zend_Form_Element_Password('password'); $password->setLabel('Password'); $password->removeAttrib('id'); $password->setAttrib('class', 'text'); $password->setRequired(true); Thanks Sean |
![]() |
| Thread Tools | |
| Display Modes | |
|
|