@Paul Nice, nice. @drm Yes, I will look into this, looks like $_isArray can make it have multiple value with zero based arrays.
Regards, Saša Stamenković On Thu, Jan 21, 2010 at 3:56 PM, drm <[email protected]> wrote: > Саша Стаменковић wrote: > >> Hehum.. $_isArray property is never used in Zend_Form_Element class. I >> implemented it like this http://pastie.org/788043 >> > Have you tried setting it to true, or are you just assuming it won't work? > Take a look at e.g. Zend_Form_Element_Multiselect, which utilizes $_isArray > as well, making sure the field name is rendered with an appended [], and > retrieving the value as an array in getValue(). I'm pretty sure that is what > you want. > > Gerard >
