Description of Validate_fields Class :
Use this class to validate your database inputs or mail forms. In the first version it is only possible to validate simple text, numbers (with decimals), (US) dates and email addresses. Invalid form fields will be reported inside a detailed error message. If all form fields are valid you can use the boolean to submit your form.