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


Grant Cox wrote:
> I take it you would normally look at $_POST['button_name'] to see if
> it was submitted, if so it was the one that was clicked.  You can do a
> similar thing in Cake, just make sure the button has a unique name
> when you add it, and look in $this->params['form']['button_name'].

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

Reply via email to