You can assign the value property of each button and then check what button exactly was clicked.
You can also have a form for each button with different action properties. deltawing wrote: > I have multiple submit buttons on a particular form, and when I submit > the form data to a controller, I need the action to perform different > stuff based on which submit button had been clicked. > > So the question is - how do I obtain the name of the submit button? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
