How to set action page with two different button
Posted on 2005-03-27
I have a form to update and delete a data record:
This is the form header:
<form method="POST" ENCTYPE="multipart/form-data" onsubmit="return Form_Validator(this, this.FILE1.value)" >
where Form_Validator is a function that validates user inputs.
These are the buttons I have:
<input type="submit" value=" Update " name="Submit" onclick="">
<input type="submit" value=" Delete " name="Submit1" onclick="">
I need to do the following:
Please help me on this.