PHP Classes

Pow F Validation: Validate form inputs according to several 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
StarStarStar 53%Total: 765 All time: 4,420 This week: 67Up
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: Yugoslavia
Age: 50
All time rank: 5783 in Yugoslavia
Week rank: 212 Up1 in Yugoslavia Up
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 (11)  
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

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:765
This week:0
All time:4,420
This week:67Up
User Ratings User Comments (1)
 All time
Utility:75%StarStarStarStar
Consistency:81%StarStarStarStarStar
Documentation:-
Examples:81%StarStarStarStarStar
Tests:-
Videos:-
Overall:53%StarStarStar
Rank:2185
 
Excellent
15 years ago (kishore kumar)
70%StarStarStarStar