PaulBricker
Programmer
This may be an HTML problem or it might be an ASP problem, but I have not figured out where the issue is so I thought I would start with the HTML forum. I have 3 html pages that contain forms on them. They are all very similar in style and content. All three send their info to ASP pages which insert the information into tables in the database. The problem is one of the tables in the database gets double records (duplicates) inserted. The other two only insert the expected single record. The form tags and the input type tags are identical in structure. This is the info in the offending form>
Now it may be the ASP page that is creating the problem, but the setup and structure of those pages are basically identical with each other as well. If anyone has any thoughts I'd apprciate any suggestions. I don't think people are double clicking the button because I've run sample data myself and I'm still seeing two records show up in that table.
It might not be either the HTML or the ASP, but something in my files I'm overlooking, but it's got me stumped so I'm looking for fresh ideas.
Thanks
Paul
Code:
<form name = "workrequestform" id = "workrequestform" action = "workform.asp" method = "post">
<input type="image" src="button3.jpg" value="submit information" onclick = "javascript:document.workrequestform.submit()">
Now it may be the ASP page that is creating the problem, but the setup and structure of those pages are basically identical with each other as well. If anyone has any thoughts I'd apprciate any suggestions. I don't think people are double clicking the button because I've run sample data myself and I'm still seeing two records show up in that table.
It might not be either the HTML or the ASP, but something in my files I'm overlooking, but it's got me stumped so I'm looking for fresh ideas.
Thanks
Paul