Details
Description
if the textarea element has the same name as its parent subform.
$form->getValues() returns a truncated value, remaining just one
character in the foo element.
$foo = new Zend_Form_SubForm('foo') ;
$foo->addElement('textarea','foo') ;
$form->addSubform($foo,'foo') ;
Issue Links
| This issue is related to: | ||||
| ZF-9348 | Zend_Form isValid() does not validate SubForm with equal named Child Element |
|
|
|
While this is a bug, the simple solution is to rename your subform; this will allow validation and rendering to work correctly, and keep the element name in line with your model.
Scheduling fix for next minor release, but as a low priority issue.