FormCheck is a MooTools class that allows you to perform different tests on forms to validate them before submission.
Please see the below for syntax and examples.
###Features:
- Lightweight, shiny and fast
- Skins support : customize css, fonts, ...
- Cross-browser compatibibility
- Display errors as tips, or before/after the field
- Basic validation (required, alpha, digit, alphanu, length, confirm, ...)
- Regex validation (phone, email, url)
- Custom function based validation, to perform test that could not be handled by basic tests neither regex test.
- Make easily your own custom regex and alerts
- Internalization : we now support 10 different languages
- Active community
- A lot of options that allow you to customize this class to fit exactly as you want
<script type="text/javascript" src="proxy.php?url=https%3A%2F%2Fgithub.com%2Fjs%2Fformcheck%2Flang%2Fen.js"> </script>
<script type="text/javascript" src="proxy.php?url=https%3A%2F%2Fgithub.com%2Fjs%2Fformcheck%2Fformcheck.js"> </script>
<link rel="stylesheet" href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fjs%2Fformcheck%2Ftheme%2Fclassic%2Fformcheck.css" type="text/css" media="screen" />
<script type="text/javascript">
window.addEvent('domready', function(){
new FormCheck('myform');
});
</script>

