Re: FormBuilder and linkNewValue
| From: | Justin Patrin | Date: | Wed, 13 Jul 2005 16:48:21 +0000 |
| Subject: | Re: FormBuilder and linkNewValue | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-19973@lists.php.net to get a copy of this message | ||
On 7/13/05, Rodrigo Alvarez <papipo@gmail.com> wrote:
> Hi PEARs,
>
> I'm trying to use linkNewValue, but i get the following error:
>
> Fatal error: Call to undefined function: setformtemplate() in
> /usr/share/php/DB/DataObject/FormBuilder/QuickForm/SubForm.php on line 137
>
> I'm using Object renderer, and a custom FB class for setting some options:
>
[snip]
>
> Which changes should I make to fix this issue?
>
The SubForm type currently only works with the default renderer.
Mostly this is because it has to remove the <form> tags on the
sub-form. It also currently only supports toHtml.
I've made some changes to the SubForm.php in CVS that should hopefully
allow it to work for you. Please check it out and see.
--
Justin Patrin