title: Documentation for Gallery3 Validation Rules
body: <p>I'm needing to change some of the rules used for form validation in the Gallery3 module "register".  However, I have no idea what validation system it's using or what I can do to modify it.  Can anyone tell me where I can find documentation for this?</p>
  
  <p>Here's an example: </p>
  
  <pre><code>$group-&gt;input("email")-&gt;label(t("Email"))-&gt;id("g-email")
        -&gt;rules("required|valid_email|length[1,255]");
  </code></pre>