0

I'm trying to make the user input a password length of minimum 6 characters. Right now it just wants a single character but I cannot understand, why it does not require a minimum of 6 chars, when I have specified the minimum length.

I studied w3school's page about input types, including the "min" input restriction. I implemented it but it's still not working.

What is wrong with this?

<div class="form"> 
   <input type="password"
   min="123456"
   step="1"
   class="form-control"
   placeholder="Password"
   name="user_pass"
   required
</div>
Charles
  • 151
  • 2
  • 13

0 Answers0