Re: can't get [PEAR] DB_DataObject_FormBuilder to build a form
| From: | Justin Patrin | Date: | Thu, 23 Dec 2004 20:42:00 +0000 |
| Subject: | Re: can't get [PEAR] DB_DataObject_FormBuilder to build a form | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-16439@lists.php.net to get a copy of this message | ||
On Thu, 23 Dec 2004 12:02:28 -0800 (PST), l Burnerheimerton
<lburnerheimerton@yahoo.com> wrote:
>
> Finally got it to work with the help of someone on another forum from
> Norbert Mocsnik.
How did you get it fixed?
What forum was this? I don't hear from Norbert much (at all) any more.
>
> I also added an item for the wishlist for future functionality - the
> ability to generate the QuickForm code into static php files that can be
> edited. Much like DataObjects does.
This is nigh impossible at the moment, especially with all of the
types of elements. Setting deaults *has* to come from the DO. There's
also all of the callbacks and such to consider. FormBuilder is much
more than just a form builder. ;-) It also aids in form processing and
population. (In fact, it does the form processing for you, so you'd
need FormBuilder anyway.)
This brings up a good point, though. The form building could possibly
be seperated from the form processing. This is just speculation,
though, I haven't thought about this before.
We *are* thinking about seperating the elements from the main
FormBuilder code into their own classes, but again, this is just a
thought at the moment, there's no work behind it.
>
> Thanks again for your help!
>
--
Justin Patrin