Possible Duplicate:
Multiple submit buttons in an HTML form
I've put together this form which, as you can see at the bottom of the page, allows a user to add and delete image files associated with the main record.
The problem that I have is that there are multiple buttons that have a 'Submit' action behind them, namely: 'Upload this File', 'Delete Selected Image', 'View Selected Image', and 'Submit' and because of this, immaterial of the button I use, the only action performed is a complete record submission.
How can I make sure that the 'Submit' action behind each button works independently of each other?