title: AUI in-built validator not working
body: <p>I wrote some simple code in liferay to make use of the in-built aui validator, like so:</p>
  
  <pre><code>&lt;div id="addDiv"&gt;
  
      &lt;aui:form name="fmAdd" id="fmAdd" action="&lt;%= addURL.toString() %&gt;" method="post"&gt;
          &lt;aui:fieldset&gt;
              &lt;div&gt;
                  &lt;aui:input id="addName" name="name"&gt;
                      &lt;aui:validator name="required"  /&gt;
                  &lt;/aui:input&gt;
              &lt;/div&gt;
              &lt;div&gt;
                  &lt;aui:input id="addDescription" name="desc" &gt;
                      &lt;aui:validator name="required"  /&gt;
                  &lt;/aui:input&gt;
              &lt;/div&gt;
              &lt;aui:button-row&gt;
                  &lt;aui:button type="submit" id="btnSubmit"/&gt;
              &lt;/aui:button-row&gt;
          &lt;/aui:fieldset&gt;
      &lt;/aui:form&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>In another project the same code works fine, and for this jsp it recognises that it's a required field since it appends (required) at the end of the input labels. However, the javascript validation doesn't work. When I click the button without filling in anything the whole form just submits anyway.</p>
  
  <p>Am I missing something? I'm very confused right now so any help would be greatly appreciated!! Thanks!</p>
  
  <p><strong>Edit: For some reason, this problem solved itself without me doing anything. I'm not sure what happened, but it suddenly started working. Can someone advise me as to what I should do with this post? Is there a way to remove it?</strong></p>