Note: this groups post: http://groups.google.com/group/cake-php/browse_thread/thread/c05c03e397549dde/57f2e4d6b3f7fb0e?lnk=gst&q=form+get+date#57f2e4d6b3f7fb0e
Sounds like the same problem, but has no replies... On Sep 22, 2:41 pm, RichardAtHome <[EMAIL PROTECTED]> wrote: > I'm trying to create a bookmarkable search results page. I have the > following form so I am using 'get' search form: > > <?php echo $form->create("Event", array("action"=>"search", > "type"=>"get")) ?> > <?php echo $form->input("Event.start_date") ?> > <?php echo $form->end("search") ?> > > When the form is posted, the URL looks like this: > > http://www.example.com/events/search?event_name=&location_name=&start... > > Which makes it impossible to work out the date that was submitted > because the last query parameter overwrites the previous ones! > > $this->params['url']: > > [url] => events/search > [start_date] => pm > > If I use 'post' as the form type, Cake separates the date fields > correctly, but the search result page isn't bookmarkable (the url > becomeshttp://www.example.com/events/search). > > Is there a workaround for this? Or am I doing it completely wrong? :-S --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---