2008/11/28 Christoph Metz <[EMAIL PROTECTED]>: > hey guys :) > > i am using FormFu within the Catalyst MVC Framework. at this point i got a > FormFu conf in apache-style with this part: > > ... > <elements> > type Block > id rahmen > <element> > type Block > id summe_caption > tag div > content_xml <a>Auftragssumme:</a> > </element> <elements> > id summe > type Text > size 40 > name summe > <attributes> > autocomplete off > </attributes> > constraint SingleValue > </elements> > </elements> > ... > > so far so good, all elements are displayed and so on... but what if i want > to change the "content_xml" of the Block (div) with the id "summe_caption"? > get_field() only returns form-elements, get_element() returns nothing with > the given id.
The Block is nested within another, so you need $form->get_all_element() which does a recursive search Carl _______________________________________________ HTML-FormFu mailing list HTML-FormFu@lists.scsys.co.uk http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu