Re: Dates blank in FormBuilder_QuickForm
| From: | Ken Restivo | Date: | Wed, 27 Oct 2004 21:21:32 +0000 |
| Subject: | Re: Dates blank in FormBuilder_QuickForm | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-15173@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Pilot error.
Typo, actually.
In the $_DB_DATAOBJECT_FORMBUILDER['CONFIG'] =
$config['DB_DataObject_FormBuilder'] hack, I'd misspelled "Oject". Duh.
I_Guess_Thats_WhatHappensWhen_You_ride_your_ShiftKey_TooMuchInOneLine. ;-)
- -ken
- ------
On Fri, Oct 22, 2004 at 02:30:11PM -0700, Justin Patrin wrote:
> On Fri, 22 Oct 2004 14:04:52 -0700, Ken Restivo <ken@restivo.org> wrote:
> > I'm having great luck with FormBuilder_QuickForm. So far just about everything I need
> > to do, is working better than I'd expect (and I am changing the app logic to work around the
> > nested forms issue ;-).
> >
> > One thing that's driving me nuts is that dates are not showing up in the forms.
> >
> > I have correctly (I think) set $fb_dateFields() in the DB_Object, and I have
> > dateElementFormat = d-m-Y set in my .ini file under [DB_DataObject_FormBuilder].
> >
> > Any ideas how I can troubleshoot this? I'm getting no error from FormBuilder,
> > it's just declining to build date elements in my form :-/.
> >
>
> Try using the default date format (d/m/Y I think). Does it work for
> you? You may need to override the date callbacks to make this work.
>
> --
> paperCrane --Justin Patrin--
- --
- ---------------
The world's most affordable web hosting.
http://www.nearlyfreespeech.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBgBFce8HF+6xeOIcRArlXAJ9oNZIxB7ZuS1vyKi/26GDrAm8vFwCfThmC
kddvlMcoWA6P+g+vsCgp27U=
=3kWZ
-----END PGP SIGNATURE-----