title: Liferay: Controlling form validators at runtime via JavaScript
body: <p>I am using Liferay 6.2 and built-in form validators using AUI taglib, ie:</p>
  
  <pre><code>&lt;aui:input ... &gt; 
      ... 
      &lt;aui:validator name="number" errorMessage="Enter number" /&gt;
  &lt;/aui:input&gt;
  </code></pre>
  
  <p>Is there any way to disable and re-enable the validation at runtime (after portlet is displayed) via JavaScript?</p>
  
  <p>The only solution I thought of was to re-implement all validators as custom validators with same functionality and on/off switch - this looks like a lot of work.</p>