Re: Re: db_dataobject_formbuilder and checkbox

From: Date: Thu, 06 Jan 2005 10:55:37 +0000
Subject: Re: Re: db_dataobject_formbuilder and checkbox
References: 1 2 3 4  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-16729@lists.php.net to get a copy of this message
Justin Patrin wrote:
On Thu, 06 Jan 2005 01:43:59 +0100, Arne Gellhaus <arne.gellhaus@gellhaus.de> wrote:
Alexander Petri wrote: No, i mean a checkbox input for a boolean field in my database. MySQL has no boolean field type, so autodetection would not be possible, but i always use a tiny int.
How about a booleanFields option which you can put names of fields to get the boolean treatment. Yes, that would be the wanted behavior. So we use fb_booleanFields, right?
Also, what about Yes/No? True/False? They could also be selects or radio buttons. Is this wanted? For this to work i could use a enum field.
Should i try to implement fb_booleanFields? I think the cvs version of FormBuilder is preferred? Arne

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