How can I make for my form not to do sumbit of the same form several times. I'm having this problem because some users are clicking save multiple times, not waiting for the update screen, so then you are saving multiple duplicate records.
I found some JQuery validations but none so far helped 100%. 1st I tried to disable the button when I click save, but it stopped working in case If there is a required field I could not validate again to enable the Save button again.
$('form').submit(function(){
$(this).find('button[type=submit]').prop('disabled', true);
return true; // return false stops the from from actually submitting.. this is only for demo purposes
});
I do not know the best solution to this problem ...