Julien Huang wrote:
If obtain this :
input name=question42[] value=0 /
While I want this :
input name=question[42][] value=0 /
--
Julien Huang
It is very useful to be able to use this syntax I agree. There are areas
where Zend Framework is over engineered and unfortunately
Julien Huang wrote:
Hello,
I'm currently using Zend_Form, and can't use square brackets in my
form elements' name. I've looked at the code, and it seems that the
method setName (by filterName) in Zend_Form_Element removes the
square brackets, why ? Moreover, there's an option in
On Thu, Nov 13, 2008 at 17:01, Matthew Weier O'Phinney [EMAIL PROTECTED]
wrote:
You have several options. First, you can declare the element an array:
$element-setIsArray(true);
Second, you can use subforms to group related items -- this will create
array notation by default.
In your
Hello,
I'm currently using Zend_Form, and can't use square brackets in my
form elements' name. I've looked at the code, and it seems that the
method setName (by filterName) in Zend_Form_Element removes the
square brackets, why ? Moreover, there's an option in filterName to
allow square brackets.
-- Julien Huang [EMAIL PROTECTED] wrote
(on Thursday, 13 November 2008, 04:38 PM +0100):
Hello,
I'm currently using Zend_Form, and can't use square brackets in my
form elements' name. I've looked at the code, and it seems that the
method setName (by filterName) in Zend_Form_Element removes