Login   Register  
PHP Classes
elePHPant
Icontem

Class: validaForms

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Erick Vavretchek  >  validaForms  >  Download .tar.gz .zip  >  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
Related classes: , , , , , , ,
Version: -
PHP version: -
License: BSD License
All time users: 2529 users
All time rank: 1237
Week users: 0 users
Week rank: 2502
Picture of Erick Vavretchek
Author: Erick Vavretchek <e-mail contact>
Packages: 2 Browse this author's classes Browse this author's classes
Country: Brazil Brazil - PHP jobs in Brazil
Age: 35
All time rank: 85461 in Brazil Brazil
Week rank: 2275174 in Brazil Brazil


  Detailed description  
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.

 

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

  Rate classes User ratings   Trackback   Applications   Files Files  

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (83.3%)
Sufficient (79.2%)
Good (83.3%)
Good (83.3%)
-
-
Sufficient (66.2%)
370
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 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.