title: Parsley js: Form validation for password field(minlength) not working as expected
body: <p>I have the following form in my HTML:</p>
  
  <pre><code>&lt;form action="" method="POST" accept-charset="utf-8" data-parsley-validate &gt;
      &lt;fieldset&gt;
          &lt;legend&gt;Parsely JS Testing&lt;/legend&gt;
          &lt;input type="" name="Full Name" placeholder="Full Name" data-parsley-pattern="[a-z|A-Z]" data-parsley-trigger="focusin focusout" data-parsley-error-message="You need to enter your full name" data-parsley-errors-container="#error-container"&gt;
          &lt;input type="" name="Phone" placeholder="Phone" data-parsley-type="digits" data-parsley-min="10" data-parsley-trigger="focusin focusout" data-parsley-error-message="Enter valid phone number" data-parsley-errors-container="#error-container"&gt;
          &lt;input type="" name="Email" placeholder="Email" data-parsley-type="email" data-parsley-trigger="focusin focusout" data-parsley-error-message="Enter Valid Email" data-parsley-errors-container="#error-container"&gt;
          &lt;input type="" name="password" placeholder="Password" data-parsley-type="alphanum" data-parsley-min="7" data-parsley-trigger="focusin focusout" data-parsley-error-message="Password must be atleast 7 characters" data-parsley-errors-container="#error-container" id="password"&gt;
          &lt;input type="" name="confirmpassword" placeholder="Confirm Password"  data-parsley-trigger="focusin focusout" data-parsley-error-message="Password Does not match" data-parsley-errors-container="#error-container" data-parsley-equalto="#password"&gt;
      &lt;/fieldset&gt;
      &lt;button type="submit"&gt;SUBMIT&lt;/button&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>I am using parsely.js to validate this form, i am having a slight problem validating the password feild. I have the below HTML for the password feild:</p>
  
  <pre><code>&lt;input type="" name="password" placeholder="Password" data-parsley-type="alphanum" data-parsley-min="7" data-parsley-trigger="focusin focusout" data-parsley-error-message="Password must be atleast 7 characters" data-parsley-errors-container="#error-container" id="password"&gt;
  </code></pre>
  
  <p>The field is validated on <code>focusin</code> and <code>focusout</code>, like so:</p>
  
  <pre><code>data-parsley-trigger="focusin focusout"
  </code></pre>
  
  <p>For the validation i have 2 rules , the following:</p>
  
  <pre><code>data-parsley-type="alphanum"
  </code></pre>
  
  <p>And </p>
  
  <pre><code>data-parsley-min="7" 
  </code></pre>
  
  <p>These two rules don't seem to be working very well in tandem, so if i enter the following password:</p>
  
  <pre><code>gautam007
  </code></pre>
  
  <p>I get an error in the <code>#error-container</code>, the error get is the one i entered in the error message data attribute.</p>
  
  <pre><code>data-parsley-error-message="Password must be at least 7 characters" 
  </code></pre>
  
  <p>Why am i getting this error and how do i work around this ?</p>