DB_DataObject_FormBuilder and NULL
| From: | Martin Davey | Date: | Tue, 18 May 2004 20:46:43 +0000 |
| Subject: | DB_DataObject_FormBuilder and NULL | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-12578@lists.php.net to get a copy of this message | ||
Hi All,
Is there any way to handle a NULL field value with FormBuilder?
For instance, with the automatic combo-box linking, you now have the option of adding a '' selection.
However, process_form always replaces NULL with '', and subsequently always adds a '0' to my integer(11) database field?
Many thanks,
Martin.