I have two submit buttons in a form. How do I determine which one was hit serverside?
An even better solution consists of using button tags to submit the form:
The HTML inside the button (e.g. ..>Update<..
is what is seen by the user; because there is HTML provided, the value
is not user-visible; it is only sent to server. This way there is no inconvenience with internationalization and multiple display languages (in the former solution, the label of the button is also the value sent to the server).