Weird FormBuilder problem
| From: | Ken Restivo | Date: | Sun, 16 Jan 2005 03:22:47 +0000 |
| Subject: | Weird FormBuilder problem | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-16949@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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.
- -ken
- --
- ---------------
The world's most affordable web hosting.
http://www.nearlyfreespeech.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFB6d4He8HF+6xeOIcRAmjRAJ9s8ZCapxsE7VWQzOmk9QlcDs2VygCgpYrV
tSiXmuBWJffrrJHkDiPclR0=
=srTZ
-----END PGP SIGNATURE-----