Re: Re: db_dataobject_formbuilder and checkbox
| From: | Justin Patrin | Date: | Thu, 06 Jan 2005 02:37:24 +0000 |
| Subject: | Re: Re: db_dataobject_formbuilder and checkbox | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-16716@lists.php.net to get a copy of this message | ||
On Thu, 06 Jan 2005 01:43:59 +0100, Arne Gellhaus
<arne.gellhaus@gellhaus.de> wrote:
> Alexander Petri wrote:
>
> > Arne Gellhaus wrote:
> >
> >> Hi, what i would like to see in formbuilder is support for checkbox
> >> fields. Is this complex? If patches are welcome i would try myself.
> >>
> >
> > i guess you mean triplelinks and crosslinks...
> > please look at some of my threads in this list
> > there is a patch(or a custom solution)
>
> 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.
Also, what about Yes/No? True/False? They could also be selects or
radio buttons. Is this wanted?
--
Justin Patrin