Login   Register  
PHP Classes

Error Fields: Mark invalid form fields with special CSS styles

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2012-06-16 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 232 All time: 7,098 This week: 1,493Up
Version License PHP version Categories  
error-fields 1.0GNU General Public Lice...5HTML, PHP 5
Description Author  

This class can mark invalid form fields with special CSS styles.

It takes a list of names of invalid form fields as a single string separated with commas.

The class returns a string with a CSS style or class attribute if a given field is in the list of invalid fields.

The error field CSS class or style attribute value is configurable.

Picture of Edson Melo de Souza
Name: Edson Melo de Souza <contact>
Classes: 2 packages by
Country: Brazil Brazil
Age: 44
All time rank: 3060234 in Brazil Brazil
Week rank: 1754 Up146 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file ClassErrorFields.php Class This simple class aims to mark a form field after posting without using * additional scripts like jQuery or Java Script
Accessible without login Plain text file index.php Example This is a example for use the ClassErroFields

 Version Control Unique User Downloads Download Rankings  
 0%Total:232All time:7,098
 This week:0This week:1,493Up