Detect the enter key and block it submitting

  <form onkeydown="if(event.keyCode === 13){return false;}" >
  </form>