Re: DB_DataObject_FormBuilder and NULL

From: Date: Tue, 18 May 2004 22:07:56 +0000
Subject: Re: DB_DataObject_FormBuilder and NULL
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-12585@lists.php.net to get a copy of this message
Martin Davey wrote:
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?
Hi Davey, which FormBuilder and which DataObject versions do you use? I'm unsure about the selectbox issue, but a NULL value in "normal" integer fields should definitely be preserved. In case this cannot be solved by updating to the latest versions of FormBuilder and DataObject, can you please file this as a bug on pear.php.net? Thanks, Markus

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