Issue Type: Bug Created: 2012-05-25T13:25:21.000+0000 Last Updated: 2012-05-25T13:58:13.000+0000 Status: Closed Fix version(s): Reporter: Jim Chen (peeer) Assignee: Frank Brückner (frosch) Tags: - Zend_Form
Related issues: - ZF-12119
say, $form->addElement('text', 'field-name', $options); Then, the element can be retrieved by $form->field-name. However, $form->field-name->getName() == fieldname.
The reason is that Zend_Form_Element will filter ($name) before setting it. However form still has it in Zend_Form::$_elements.
The side effect of this is that when doing $form->isValid($post). This field will lost track of posted value.
No comments to display
Have you found an issue?
See the Overview section for more details.