Langdon - I found that our Ajax submits were submitting ALL buttons on the form, but perhaps that was to do with the form serialization it performed.
In either case, if you've can use Javascript then I think it is much better to submit to different actions if you want your form to do different things - it's more semantically correct and can avoid the flakiness of detecting which button was actually clicked. On Jun 22, 12:13 pm, Langdon Stevenson <[EMAIL PROTECTED]> wrote: > The only exception to this is with an Ajax request where the button > name/value returned will always be the last button in the form. This > has caused me no end of trouble in the past ... > > Regards, > Langdon > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
