DB_DataObject_FormBuilder Questions

From: Date: Wed, 01 Dec 2004 08:00:35 +0000
Subject: DB_DataObject_FormBuilder Questions
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-15931@lists.php.net to get a copy of this message
Hi, and the third Mail this morning to the list ;-) While experimenting with DB_DataObject_Formbuilder, i noticed some things: - What about Database combined datetime fields (mysql), are they supported? - Is it possible to trigger a build of a file-upload field? Or should this be done manually? - I tried to change the field types: var $fb_elementTypeMap = array( 'title' => 'text', 'subTitle' => 'text', 'image' => 'text', 'datetime' => 'date', 'shorttext' => 'text', 'text' => 'text', 'price' => 'text', 'info' => 'text', 'pageImage' => 'text', ); Now all fields are text (also the datetime field, what was a QF date field without the typeMap) and a PHP warning occurs: Warning: htmlspecialchars() expects parameter 1 to be string, array given in /usr/lib/php/HTML/Common.php on line 140 PHP is v5.0.2 DB 1.6.8 stable DB_DataObject 1.7.2 stable DB_DataObject_FormBuilder 0.10.3 beta HTML_Common 1.2.1 stable HTML_QuickForm 3.2.4pl1 stable Any idea? -- soenke

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