I have three submit buttons on my form.

Two of the submit buttons are to navigate through a recordset by using a Next and Previous (Submit) button.

My third Submit button is to actually submit the data to the server. This is how I have it working:


This is the third Submit button.
<INPUT Type=Submit Value="Add Record" onClick="this.form.action='deleterecord.asp';">

This works fine!

** I have a validating function that when the user clicks the third submit button I want the Validate function that I created to run before submitting the data to the server.

But the problem is with three submit buttons. Can anyone help me out???