title: Re-enabling event.preventDefault();
body: <p>I have been searching for ages for a solution to this problem, I am aware that there is no restore default solution type of thing. However here is my problem.</p>
  
  <pre><code>$('#signInbtn').click(function(event) {
      checkLogInForm(event);
  });
  </code></pre>
  
  <p>this checks the login in fields to confirm they are not left blank, like so:</p>
  
  <pre><code>function checkLogInForm(event) {
      var usernameValid, passwordValid = false;
      checkUsername(usernameValid);
      checkPassword(passwordValid);
      if (!passwordValid || !usernameValid) {
          event.preventDefault();
      } else {
          $('#signInbtn').unbind('submit');
      }
  }
  </code></pre>
  
  <p>However the numerous solutions I have tried never result in the form actually submitting when the else is triggered. Any ideas how I can resume/submit the default behaviour? or even an alternative approach. Thanks for any help!</p>