Re: [fw-general] Zend_Form and square brackets in elements' name

2009-08-07 Thread Ian Lewis
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

Re: [fw-general] Zend_Form and square brackets in elements' name

2008-12-03 Thread saulius
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

Re: [fw-general] Zend_Form and square brackets in elements' name

2008-11-20 Thread Julien Huang
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

[fw-general] Zend_Form and square brackets in elements' name

2008-11-13 Thread Julien Huang
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.

Re: [fw-general] Zend_Form and square brackets in elements' name

2008-11-13 Thread Matthew Weier O'Phinney
-- 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