For Documentation, see: http://www.html-form-guide.com/php-form/php-form-validation.html See the Sample code : samples\1-simple-example A simple example showing the usage of the form validator script samples\2-using-with-contact-form Shows how to integrate the form validations script with other scripts In this example, the form validation script is used with a contact form samples\3-with-client-side-validations Client side validations along with server side validations makes it perfect for better usage and security. The sample shows how to integrate with JavaScript form validation script. samples\4-custom-validation Shows how to add a custom validation. License: This program is free software published under the terms of the GNU Lesser General Public License. You can freely use it on commercial or non-commercial websites. http://www.gnu.org/copyleft/lesser.html