title: Form validation not working, using validate.js
body: <p>I want to use the validate.js file for form validation.</p>
  
  <p>I followed everything that is said here: <a href="http://rickharrison.github.io/validate.js/" rel="nofollow">http://rickharrison.github.io/validate.js/</a></p>
  
  <p>But it doesn't give me any messages. </p>
  
  <p>The code works, it doesn't submit if one of those items is wrong, but it's not showing the messages.</p>
  
  <p>Any idea what I missed?</p>
  
  <p>My index:</p>
  
  <pre><code>&lt;!doctype html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;script type="text/javascript" src="js/validate.min.js"&gt;&lt;/script&gt;
  &lt;meta charset="utf-8"&gt;
  &lt;title&gt;Form&lt;/title&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
  &lt;table&gt;
  &lt;td&gt;
  &lt;form name="form"&gt;
  &lt;tr&gt;
  Voornaam: &lt;p&gt;&lt;input type="text" name="voornaam"&gt;&lt;/p&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
  Achternaam: &lt;p&gt;&lt;input type="text" name="achternaam"&gt;&lt;/p&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
  Telefoonnummer: &lt;p&gt;&lt;input type="text" name="telefoon"&gt;&lt;/p&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
  Emailadres: &lt;p&gt;&lt;input type="text" name="email"&gt;&lt;/p&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
  &lt;input type="submit" name="submit" value="Stuur op"&gt;
  &lt;/tr&gt;
  &lt;/form&gt;
  &lt;/td&gt;
  &lt;/table&gt;
  
  &lt;script&gt;
  var validator = new FormValidator('form', [{
      name: 'voornaam',
      display: 'required',    
      rules: 'required'
  }, {
      name: 'achternaam',
      display: 'required', 
      rules: 'required'
  },{
      name: 'telefoon',
      display: 'required', 
      rules: 'numeric'
  },{
      name: 'email',
      display: 'required', 
      rules: 'valid_email'
  }], function(errors, event) {
      if (errors.length &gt; 0) {
          // Show the errors
      }
  });
  &lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>And the validate.js file I'm using:</p>
  
  <p><a href="http://rickharrison.github.io/validate.js/validate.min.js" rel="nofollow">validate.min.js</a></p>