I would like to stop disable submit button once validation is completed and form is submitting so I will not have multiple inserts to DB. I have not updated post with full f
i had the same problem and i came with a simple solution. from javascript i am sending a flag in cookie for every time submit is clicked, then checking the cookie on the server side, if the cookie is a valid one then performing the respective action other wise redirecting the control to the user.
Note : i m a java developer so i m not uploading the code, but i think this can also be achieved in .net, php and other languages.