Re: Dates blank in FormBuilder_QuickForm
| From: | Justin Patrin | Date: | Fri, 22 Oct 2004 21:30:11 +0000 |
| Subject: | Re: Dates blank in FormBuilder_QuickForm | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-15055@lists.php.net to get a copy of this message | ||
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--