FormBuilder

From: Date: Fri, 16 Feb 2007 12:54:44 +0000
Subject: FormBuilder
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-26595@lists.php.net to get a copy of this message
Hi Seems the formbuilder docs site is down at the moment. So Is it possible to do something like the below -
    function preGenerateForm(&$fb)
    {
    $el = HTML_QuickForm::createElement('hidden',
                                        array('creation_date', 'revision_date'));
    $this->fb_preDefElements['creation_date'] = $el;
    $this->fb_preDefElements['revision_date'] = $el;
    }
causes - Warning: Illegal offset type in isset or empty in D:\AWebEnvironment\PHP5.2.0\PEAR\HTML\QuickForm.php on line 610 Also I noticed that there was an inbuilt HTML area with formbuilder how do I activate this and also find info on the other elements extensions available - I suppose they are in the docs but dont know when that will be back. Cheers Ian

« previous php.pear.general (#26595) next »