PHP Classes

Validator4Fields: Validate values against several types of rules

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 668 All time: 4,837 This week: 660Up
Version License Categories
validator_class 1.0Artistic LicenseValidation
Description 

Author

This class can validate values against several types of rules.

It can check an associative array of string values to verify whether a given set of rules.

Currently it can perform the following checks:

- Empty strings
- E-mail address
- String with spaces
- URL
- Secure password
- String length limit
- String with bad words

If there are any invalid values, the class output HTML with Javascript opens an alert window with the error message. Currently it displays error messages in Portuguese.

Picture of José Augusto Ferreira Franco
  Performance   Level  
Innovation award
Innovation award
Nominee: 1x

 

  Files folder image Files (2)  
File Role Description
Plain text file Validator4Fields Class Main class
Accessible without login Plain text file test_validator_4fields Example Test script

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:668
This week:0
All time:4,837
This week:660Up