PHP Classes

Pow F Validation: Validate form inputs according to several rules

Recommend this page to a friend!
  Info   View files View files (11)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 59%Total: 762 All time: 4,405 This week: 268Up
Version License Categories
pfv 1.0BSD LicenseValidation
Description Author

This class can be used to validate Web form inputs according to several types of validation.

Currently the class provides the validation types:

- Field is empty
- Field is selected
- Value matches a regular expression
- Value is a e-mail address
- Two fields have the same value
- Text value is made of letters
- Text value length does not exceed a limit
- Field value is equal to a constant value
- A given number of selected or unselected options

Picture of Zeljko Radulovic
Name: Zeljko Radulovic <contact>
Classes: 2 packages by
Country: ???
Age: 48
All time rank: 577
Week rank: 577 Equal
Innovation award
Innovation award
Nominee: 1x

Details
Power Form Validation


--------------------------------------------
Is class which helps us to validate form
inputs just in few lines of code. When 
form inputs successfully pass procedure 
of validation they can be printed, inserted 
in database etc.
------------------------------------------------
With helps of this class we can  
control if is field empty or if is 
component selected, controls with help 
of Regular Expressions if is e-mail address 
entered on right way,  controls if values of t
wo components have same value, if is entered value 
in text box in form of letters, if is entered value 
in text box in form of numbers, if entered value is 
longer that given value, if entered value is shorter 
that given value, if entered value is equal with given 
value, how many components are not selected or in how many 
of them value is not entered..    
------------------------------------------------------------
Documentation:
http://pad.pmf.kg.ac.yu/am/index.php?action=preg_kursa&co_id=7
-------------------------------------------------------------------------
Zeljko Radulovic:
http://pad.pmf.kg.ac.yu/articles/index.php?action=author
  Files folder image Files  
File Role Description
Accessible without login Plain text file bottom.html Aux. bottom
Accessible without login Plain text file form.html Example form
Accessible without login Plain text file index Example index
Accessible without login Plain text file left.html Aux. left
Plain text file print_report.php Class print_report
Accessible without login Plain text file prvi.css Data prvi
Accessible without login Plain text file readme.txt Data readme
Accessible without login Plain text file report1.html Aux. report1
Accessible without login Plain text file report2.html Aux. report2
Accessible without login Plain text file top.html Aux. top
Plain text file validation.php Class validation

 Version Control Unique User Downloads Download Rankings  
 0%
Total:762
This week:0
All time:4,405
This week:268Up
User Ratings User Comments (1)
 All time
Utility:83%StarStarStarStarStar
Consistency:91%StarStarStarStarStar
Documentation:-
Examples:91%StarStarStarStarStar
Tests:-
Videos:-
Overall:59%StarStarStar
Rank:1377
 
Excellent
12 years ago (kishore kumar)
70%StarStarStarStar
 
For more information send a message to info at phpclasses dot org.