title: HTML Pattern - regex not working
body: <p>I'm trying the pattern attribute for the first time, and I can't get it to work (my browser does support it, though).</p>
  
  <p>Right now I have:</p>
  
  <pre><code>input type="text" pattern="[a-zA-Z0-9]{6}" name="formName"
  </code></pre>
  
  <p>The first problem is that is doesn't notify me if it's blank; the second problem is that if I do type in something, it won't accept it. I want it to accept alphanumeric characters and be exactly 6 characters is length. I tried it with forward slashes and a few other variations. </p>