Ive had to do similar in the past, off the top of my head:

I think the best way to do this on the server side is to name the
submit buttons - only the one pressed gets passed on to the server
side, so you can check for this to decide how to handle the form
submission.

As I said, this was a whiile ago, but Im fairly confident that will
work...

On Oct 25, 1:21 pm, francky06l <[EMAIL PROTECTED]> wrote:
> you could use $ajax->submit. You can specify the url into the the
> parameters thus they can be different.
>
> On Oct 25, 5:47 pm, Chambrln <[EMAIL PROTECTED]> wrote:
>
>
>
> > I would suggest trying to capture the event on the controller side and
> > process your data accordingly.
>
> > Perhaps you should just put a checkbox on the form so the user can
> > select to "Delete" or "Flag" the application.  Then you just need 1
> > submit button.- Hide quoted text -
>
> - Show quoted text -


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to