PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Database » DB_DataObject_FormBuilder » Bug #1101

Populate a selectbox does not work

Details

Submitted2004-03-30 23:49 UTC
Fromhakan at lisas dot de
StatusNo Feedback
PackageDB_DataObject_FormBuilder
PHP VersionIrrelevant
OSLinux
Roadmaps(Not assigned)

Comments

[2004-03-30 23:49 UTC] hakan at lisas dot de

Description:
------------
I am using the CVS-version of FormBuilder and populating a selectbox does not work for me. I used the example of the package as sample for my own test. The only difference between my try and the shipped example is the ini file. My ini file contains some 'N's whereas the example's ini does not. Like:
[termine__keys]
termine_id = N

and
[product__keys]
product_id = 1

Maybe I am doing something wrong generating the DataObjects?

[2004-03-31 09:14 UTC] mw21st at php dot net

It doesn't seem like this is a FormBuilder problem, but anyway: What version of DataObject are you using and how exactly do you create the ini file?

Also, have you set up a "DataBaseName.links.ini" file that defines the relationships between tables? Without such a file, FormBuilder is unable to automatically create selectboxes.