Re: combine 2 forms in DataObject_FormBuilder
| From: | Justin Patrin | Date: | Wed, 11 Aug 2004 17:06:12 +0000 |
| Subject: | Re: combine 2 forms in DataObject_FormBuilder | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-14066@lists.php.net to get a copy of this message | ||
On Wed, 11 Aug 2004 12:51:01 -0300 (ART), j llarens
<llarensj@yahoo.com.ar> wrote:
> I see the prototyping pdf from Markus Wolff and I
> interested in the merging of two forms using
> Formbuilder but I cannot reproduce that. Is there any
> other source of information about merging two
> DataObjects Forms with ->useForm ?
>
Not yet. ;-) Quite honestly, this is ill-supported in FormBuilder at
the moment because if two fields in the tables used have the same
name, the elements will overwrite each other. IMHO, it's generally not
too useful to display multiple records of data in one form as it:
1) Makes the form larger and harder to use
2) Usually does not make any sense from a Data-Structure perspective.
Multiple records should generally be handled independently from each
other.
That being said, there is "support" for virtual fields. Check out this
page to see what I mean. Don't hesitate to ask if you need more help.
http://opensource.21st.de/tiki-index.php?page=Beyond+Advanced
--
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder
paperCrane --Justin Patrin--