Re: Nesting Quickforms?

From: Date: Wed, 02 Feb 2005 23:38:18 +0000
Subject: Re: Nesting Quickforms?
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-17345@lists.php.net to get a copy of this message
Alexey Borzov wrote: > Hi, > > Rolf Martin-Hoster wrote: >> Is it poosible for a Quickform to be nested? > > No. It isn't possible for HTML <form> tags, either. What I was hoping for was something along these lines. A QF named foo would be the prefix of all elements in a form ie : <form name="foo"> <input name="foo[bar]" type="text"> </form> And then a nested QF named "fu" would look something like this <form name="foo"> <input name="foo[bar]" type="text"> <input name="foo[fu][drink]" type="text" value="cheers"> </form> I am attempting to hack up a method of dealing with nested table from DB::DO::FormBuilder. I know of some ugly methods (primarily extending QF), but was wondering if there was a quicker fix :) -Rolf

« previous php.pear.general (#17345) next »