How to specify to FormBuilder the select tags to be generated?
| From: | (PHPDiscuss - PHP Newsgroups and mailing lists) | Date: | Sat, 25 Jun 2005 11:35:43 +0000 |
| Subject: | How to specify to FormBuilder the select tags to be generated? | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-19763@lists.php.net to get a copy of this message | ||
I think this is a stupid question but I've double checked/searched for a
clear example or explanation of how the select html tag is created for a
particular field in a table, and didn't found nothing.
my code goes like this
$object = DB_DataObject::factory('table');
$builder =& DB_DataObject_FormBuilder::create($object);
$builder->formHeaderText = "Add an Object";
$builder->submitText = "Add";
$buider-> // how to specify a field foo from table will be a SELECT ?
actually my output are all input text boxes
sorry but documentation in http://opensource.21st.de/16.html doesn't seem
to be clear for me at this point. Should I specify there in the code?
create an ini file? use an existing one? which one?
Hope anybody can help me.
regards
My environment:
Microsoft Windows XP [Version 5.1.2600] (SP1)
PHP 5.0.5-dev (cli) (built: Jun 23 2005 10:28:39)
Apache/2.0.52 (Win32)
DB_DataObject 1.7.2 stable
DB_DataObject_FormBuilder 0.17.2 beta
HTML_QuickForm 3.2.4pl1 stable