-- Jurriën Stutterheim <[EMAIL PROTECTED]> wrote
(on Tuesday, 17 June 2008, 09:41 PM +0200):
> To answer myself, this is a known issue:
> http://framework.zend.com/issues/browse/ZF-3393
>
> Guess I overlooked it : (

While I recognize this is a bug, I consider it a low priority item. Why?
Because all you need to do is rename the subform. The subform name is
only for identifying it as a unique element within its containing form
and for specifying the array name under which its elements belong -- it
has no other larger purpose, and will likely not even be used by the
consuming models you create.  Rename it to 'mysurvey' or something
equally innocuous, and your element of the same name will validate and
render correctly.

> On Jun 17, 2008, at 21:38 , Jurriën Stutterheim wrote:
> > While working on the MultiPageForm action helper I ran into a weird  
> > bug with Zend_Form.
> > Here's the deal:
> >
> > I have one "master" form, which contains 3 subforms. The last subform 
> > is called "survey". In this last form I have a textarea that's also 
> > called "survey".
> > Now if I submit this subform, all field values get set to "A". The  
> > weird thing is, as soon as I rename the field from "survey" to  
> > something else, it works fine.
> > This seems to be caused somewhere in Zend_Form between line 1688 and  
> > 1692. I'm running ZF 1.5.2. Can anyone confirm this?

-- 
Matthew Weier O'Phinney
Software Architect       | [EMAIL PROTECTED]
Zend Framework           | http://framework.zend.com/

Reply via email to