Hello, I have a page with a form that contains several text boxes and dd boxes this page is an edit page(allows a record to be edited). It has a submit button for the editing that the user makes, I also want to add a delete button with a msgbox(yes/no) that will verify the user wants to delete the record, and if yes is clicked the record is deleted. The form submits to a confirm.asp page where the update/delete will take place. How do I add the msgbox function?<BR><BR>Here is some of what I have, the update already works:<BR><form method = "POST" action ="confirmedit.asp" target="main" onsubmit="return FrontPage_Form1_Validator(this)" name="FrontPage_Form1"><BR><BR> .....form fields<BR>'/////////Edit button WORKS<BR> </center><BR> <p align="left"><input type="submit" value="Submit Changes" name="B1" class="btn" style="width: 149; height: 25"></p><BR> </td><BR><BR> </table><BR> </center><BR>'/////////This is where I need to add msgbox function<BR> <p align="center"><input type="submit" value="DELETE THIS TEST" name="btnDelete" class="btn" style="width: 149; height: 25"></p><BR>'///I would need to pass a variable to confirm.asp to to determine if I need to do a DELETE or a UPDATE<BR></form><BR></body><BR></html> <BR>Thanks!!