Re: Re: DB_DataObject_FormBuilder set datefield default to null
| From: | nik600 | Date: | Tue, 18 Sep 2007 07:51:56 +0000 |
| Subject: | Re: Re: DB_DataObject_FormBuilder set datefield default to null | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-27942@lists.php.net to get a copy of this message | ||
Many thanks to your reply,
but how can i add it?
should i specify the name of the field? (if yes, how?)
o can i set up a general settings for all datefields ?
On 9/18/07, David Sanders <dsanders@baselinesolutions.com.au> wrote:
> You'll have to add it to your dataobject, either in preProcessForm() or
> update()/insert()
>
> nik600 wrote:
> > any idea ?
> >
> >
> > On 9/14/07, nik600 <nik600@gmail.com> wrote:
> >> Hi to all
> >>
> >> How can i set for every date field in DB_DataObject_FormBuilder the
> >> default value to null ?
> >>
> >>
> >> Actually it has the actual date and the current time, but i will set it to null.
> >>
> >> For example: 0000-00-00 00:00:00
> >>
> >> Can i do that?
> >>
> >> how?
> >>
> >> thanks to all in advance
> >>
> >> --
> >> /*************/
> >> nik600
> >> https://sourceforge.net/projects/ccmanager
> >> https://sourceforge.net/projects/nikstresser
> >>
> >
> >
>
>
> --
> David Sanders
> shangxiao
>
--
/*************/
nik600
https://sourceforge.net/projects/ccmanager
https://sourceforge.net/projects/nikstresser