Re: html_form_builder
| From: | mike | Date: | Fri, 20 Aug 2004 12:34:24 +0000 |
| Subject: | Re: html_form_builder | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-32780@lists.php.net to get a copy of this message | ||
Could you send me a complete example (with crossLinks and elementTypeMap
utilisation ??)
kind regards
"Markus Wolff" <wolff@21st.de> a écrit dans le message de news:
4125C721.6040503@21st.de...
> 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