Re: FormBuilder and linkNewValue
| From: | Rodrigo Alvarez | Date: | Thu, 14 Jul 2005 07:41:08 +0000 |
| Subject: | Re: FormBuilder and linkNewValue | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-19988@lists.php.net to get a copy of this message | ||
Justin Patrin wrote:
On 7/13/05, Rodrigo Alvarez <papipo@gmail.com> wrote:It works now, thanks!! Anyway, I get the default 'denotes required field' message, although i set it in my custom formbuilder to Spanish lang (in the "normal" fiels it's ok). It shows a grey label with the dataobject classname above the input too. How can I change those things? Thanks.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]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.