Re: html_form_builder

From: Date: Fri, 20 Aug 2004 09:40:49 +0000
Subject: Re: html_form_builder
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-32778@lists.php.net to get a copy of this message
mike wrote:
Thank you for your response. I don"t manage to use the new version of formbuilder (0.9.0) When I create the following function, the modifications are not taken into account ! Could you send me an example ? function preGenerateForm() { $this->fb_preDefElements['rublib'] = HTML_QuickForm::createElement('text', 'rublib', array('size' => 100)); }
Hi there, if you don't use the latest DataObject version, you can't use the fb_ prefixes for the class properties. Use $this->preDefElements instead or upgrade to the latest FormBuilder version - that should do the trick. CU Markus

« previous php.pear.dev (#32778) next »