Re: Weird FormBuilder problem
| From: | Justin Patrin | Date: | Sun, 16 Jan 2005 07:13:39 +0000 |
| Subject: | Re: Weird FormBuilder problem | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-16950@lists.php.net to get a copy of this message | ||
On Sat, 15 Jan 2005 19:22:47 -0800, Ken Restivo <ken@restivo.org> wrote:
> My linked FB select boxes are showing up with only ONE entry in them-- the last one
> alphabetically-- and no others.
>
> Test code to duplicate the problem is:
>
> $obj =& DB_DataObject::factory('tablename');
> $fb = DB_DataObject_FormBuilder::create(&$obj);
> $form = $fb->getForm();
> if($form->process(array(&$fb, 'processForm'), false)){
> $form->freeze();
> }
> echo $form->toHTML();
>
> This is with:
> DB 1.6.8 stable
> DB_DataObject 1.7.2 stable
> DB_DataObject_FormBuilder 0.11.1 beta
> HTML_QuickForm 3.2.4pl1 stable
>
> My links all appear to be in order, I'm using them with DBDO all through the rest of my
> application with no problems.
>
What version of PHP? Did you try turning off overloading?
define('DB_DATAOBJECT_NO_OVERLOAD', 1);
before including anything.
--
Justin Patrin