Thursday, September 3, 2009

Help with Date Range in Forms Helper

I'm creating a form using the forms helper to allow a user to search
for events occurring within a specified date range.

My model (called "Event") has a field called "date", which is of type
DATE. I want to create 2 form inputs: a minimum and a maximum date
range. My controller will have conditions for date <= maximum and date
>= minimum.

Is there a way to generate this using the Forms Helper?

Thanks in advance,
dmsmitty

--~--~---------~--~----~------------~-------~--~----~
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: