Validate_fields Class 1.34 review
DownloadValidate_fields Class is an easy-to-use form field validation PHP script
|
|
Validate_fields Class is an easy-to-use form field validation PHP script. This class can be used to validate database inputs or mail forms.
It can validate simple text, numbers, dates, urls, email addresses, and the presence of HTML tags. Invalid form fields will be reported inside a detailed error message.
What's New in This Release:
A small improvement in the create_msg() method makes it possible to switch between the XHTML version and the simple HTML version.
In the fields array one key was named "name", and it has been renamed to "value" to make it more clear.
The variable declarations at the beginning of the validation method was removed.
Because the value of a checkbox (radio) type field is only available if the element is checked, there are new functions to validate this elements.
Validate_fields Class 1.34 keywords