title: How do I set a min & max length for a password on HTML
body: <p>This is probably a really simple fix so hoping someone can help!</p>
  
  <p>I have been tasked with setting password parameters where people are asked to have there password between 5-10 characters.</p>
  
  <p>I am able to bring up the error message so that it asks for more characters than 5 but not the one that asks for it to be between 5-10.</p>
  
  <p>I can set the maximum characters to 10 but that just put a block on how many characters you can have in the field rather than ask people for the specific rules that I am looking for.</p>
  
  <p>Any help will be massively appreciated!</p>
  
  <p>This code will set the min length </p>
  
  <p></p>
  
  <p>This one I was sure would work but restricted what I could put in the box instead of setting certain rules</p>
  
  <p></p>
  
  <p>Thanky you so much in advance!!!</p>