Ok, nevermind. I created a parent class myself (not using Zend_Form_Subform). I was forgotten to place an $_isArray parameter. Set to true and it works perfect ;)
The only thing is it renders like param-param2-elemenname. I have to digg deeper to render it like param2-elementname[param]. But I'll manage (I hope) :) Regards, Jurian -- Jurian Sluiman Soflomo.com Op Tuesday 27 October 2009 00:06:49 schreef Jurian Sluiman: > Sorry to kick the thread, but am I asking too complicated questions? :p > > Basically it seems elements in the form > subform_1 > subform_2 are not > aware of subform_1 and only uses a subform_2 prefix. Is it possible to > configure this behaviour? > > Regards, Jurian > -- > Jurian Sluiman > Soflomo.com > > Op Saturday 24 October 2009 18:54:42 schreef Jurian Sluiman: > > Hi all, > > I have separate subforms, but also subforms inside subforms. I'm trying > > to get this subform structure: > > <form> > > <div id="en"> > > <fieldset id="fieldset-base"> > > <!-- here some elements e.g. with name "base-name" --> > > </fieldset> > > <fieldset id="fieldset-advanced"> > > <!-- here some elements e.g. with name "advanced-name" --> > > </fieldset> > > </div> > > > > <div id="nl"> > > <!-- here the same like "en" --> > > </div> > > </form> > > > > <form> is a form, <div> is a subform and <fieldset> is a sub-subform. > > > > Now inside <div id="en"> there is an input element base-name ánd inside > > <div id="nl"> there is an input element base-name. Apparently elements > > are subform aware, but not subform-inside-subform aware. I'd like to name > > them base- name['en'], en-base-name or something. > > > > Is it possible to extend the Zend_Form_Subform and add this behaviour? > > > > Best regards, Jurian > > -- > > Jurian Sluiman > > Soflomo.com
signature.asc
Description: This is a digitally signed message part.
