I fixed my issue with a method inside my own form class :
public function setSubFormNotations(Zend_Form_SubForm $subForm)
{
$subForm->setIsArray(true);
$subForm->setElementsBelongTo($subForm->getName());
return ($this);
}
I still keep an eye on this thread cause I'd like to know if it's a bug or a
bad use from me...
On Tue, Feb 17, 2009 at 8:01 PM, Thomas VEQUAUD <[email protected]>wrote:
>
> Hi everyone!
>
> I think this question is for Matthew! ;)
>
> I'm using a multi-page forms with sub forms as indicated in the Zend
> manual... The display of the subforms is pretty complicated so I use tables
> with getElement method but by this way, I loose the notation <input
> name="subform_name[element_name]" and I have <input name="element_name"
> instead for all elements... Except the buttons!
> I have the good notation for all elements if I use <?= $this->form ?> but I
> cannot display my form like I want...
>
> --
> Thomas VEQUAUD http://thomas.vequaud.free.fr/
> Expert EPITECH en Ingénierie Informatique
> Tél : +33(0)6.50.39.28.10 Fax: +33(0)9.58.46.10.07
>
--
Thomas VEQUAUD http://thomas.vequaud.free.fr/
Expert EPITECH en Ingénierie Informatique
Tél : +33(0)6.50.39.28.10 Fax: +33(0)9.58.46.10.07