>
> -- Paweł Chuchmała <pawel.chuchmala@gmail.com> wrote
>
> > Problem is that Zend_Form_Element call filterName with 'allowBrackets' = flase.
> > Why?
> > For Zend_Form_Element_Multicheckbox brackets are allowed, so why not for all
> > elements?
>
> Set the "isArray" property of the element:
>
> $element->setIsArray(true);
>
> This will append [] to the name.
Ok, but if i want not only name[], but: name[12], name[43] ?
--
Paweł Chuchmała
pawel.chuchmala at gmail dot com
没有评论:
发表评论