Login   Register  
PHP Classes
elePHPant
Icontem

validaForms: Validate web forms using localized error messages

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Erick Vavretchek
Name: Erick Vavretchek <e-mail contact>
Packages: 2 Browse all classes by Erick Vavretchek Browse all classes by
Country: Brazil Brazil - PHP jobs in Brazil
Age: 37
All time rank: 91766 in Brazil Brazil
Week rank: 967 Down76 in Brazil Brazil Down


  Detailed description   Download Download .zip .tar.gz  
This class is meant to validate the input values of Web forms.

It supports several types of input validation returning localized error messages according to the idiom that was chosen. The localized text is defined in separate files for each of the supported idioms. Currently, the error messages are available in English, Portuguese, Italian and German.

Currently it supports the following validation types:

- Numeric, alphanumeric, letters only, required, minimum and maximum length
- Date
- E-mail
- Password
- Checkbox
- Dropdown select field
- Radio button field

The class also has some interesting features like associating a text input with a select input. It is useful when you must receive an input text set to an alternative value besides those available in the select input that has a special value for specifying "other" using the text field.

A similar feature is available for radio fields that may be associated with a text field that has to be set by the user when the radio button is checked.

  Classes of Erick Vavretchek  >  validaForms  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: validaForms
Base name: validaforms
Description: Validate web forms using localized error messages
Version: -
PHP version: -
License: BSD License
All time users: 2623 users
All time rank: 1318
Week users: 1 user
Week rank: 1886 Down
 
  Groups   Rate classes User ratings   Trackback   Applications   Files Files  

  Groups  
Group folder image Localization Internationalization and translations View top rated classes
Group folder image Validation Validation algorithms View top rated classes


  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (83.3%) Sufficient (79.2%) Good (83.3%) Good (83.3%) - - Sufficient (66.2%) 411
Month: Not yet rated by the users

  Trackback links  
Link Description
FormBuilder: HTML forms made simple Even though most HTML forms tend to me much of a muchness, each is different enough to require customized markup, styling, and validation...

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Files folder imagedocs (2 files)
Files folder imagelangs (4 files)
Plain text file test_validaForms.php Example Just an example of using validaForms
Plain text file validaForms.class.php Class validaForms Class

  Files  /  Files folder image docs  
File Role Description
  HTML file validaForms_DOC.html Doc. Documentation in HTML
  Plain text file validaForms_DOC.txt Doc. Documentation in TXT

  Files  /  Files folder image langs  
File Role Description
  Plain text file english.lang.php Conf. File that contains the error messages in english
  Accessible without login Plain text file german.lang.php Conf. File that contains the error messages in german
  Plain text file italian.lang.php Conf. File that contains the error messages in italian
  Plain text file portugues.lang.php Conf. File that contains the error messages in portugues language

Download Download all files: validaforms.tar.gz validaforms.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.