Thursday, November 4, 2010

Re: Auto-fill Date Values In Form

Thanks Paul,

I really wanted it in a standard, form-helper format - YYYY - MM - DD
drop-downs.

I spent more time on it than i wanted to so in the end I just exploded
the date value from the DB and manually assigned them each to day,
month and year form-inputs with their set values.

Like I said before, this has never been a problem for me in the past,
but It was with code that someone else had built before me, so maybe
I'll use that as an excuse ; )

On Nov 4, 4:18 pm, WebbedIT <p...@webbedit.co.uk> wrote:
> Exactly how are you wanting the date field to appear in the form? text
> field, split into select fields etc.
>
> The form helper should do all this for you.
>
> You may also find this bakery article of interest:http://bakery.cakephp.org/articles/mmanning/2008/04/12/using-the-unob...
>
> HTH, Paul

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: