title: jQuery make sure all form fields are filled
body: <p>I have a simple form I'm making client side validation for.
  To validate, none of the fields should be left blank.
  This is how I go at it:</p>
  
  <pre><code>function validateForm() {
    $('.form-field').each(function() {
      if ( $(this).val() === '' ) {
        return false
      }
      else {
        return true;
      }
    });
  }
  </code></pre>
  
  <p>For some reason, my function always returns false, even though all fields are filled.</p>