Some of my users complained about accidentally submitting a form after they press the "enter" button on their keyboard. Here's a way to ensure form will only submit via a mouse click on a form button:
Add to your forms JS OnLoad event:
//prevent enter key default behavior from submitting form
$(document).keydown(function(event){
if(event.keyCode == 13) {
event.preventDefault();
return false;
}
});
That's all.