title: Field validations in sugarcrm
body: <p>I just started using SugarCRM CE for the first time (Version 6.5.15 (Build 1083)). I'm quite impressed with the ease of use when adding new fields or modules, but there's one quite indispensable thing that seems to be missing: Validation of user input.</p>
  
  <p>I would for example like to check a lot of things:</p>
  
  <ul>
  <li>Check if a emailadres has a valid format, using some regular expression</li>
  <li>Check if a postalcode exists (maybe do a webswervice call to validate it)</li>
  <li>Do a calculation to see if a citizen service number is valid</li>
  <li>etc.</li>
  </ul>
  
  <p>The only thing I seem to be able to do in studio is make a field required or not, there doesn't seem to be any standard way to execute a validation on a field.</p>
  
  <p>All I can find when I google on it is lots of ways to hack into the source code, like this one: <a href="http://phpbugs.wordpress.com/2010/01/22/sugarcrm-adding-javascript-validation-on-form-submit/" rel="nofollow">http://phpbugs.wordpress.com/2010/01/22/sugarcrm-adding-javascript-validation-on-form-submit/</a>  And even then I don't find any examples that actually do a validation.</p>
  
  <p>Am I just missing something? Or is editing source code the only way to add this?</p>