PHP Classes

Formcat: Smarty plug-in for client side form validation

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 55%Total: 1,489 All time: 2,630 This week: 660Up
Version License Categories
formcat 1.0GNU Lesser Genera...Templates, Validation


Formcat is a class for performing form validation on the client side.

Its goal is to generate Javascript code to validate forms before they are submited to the server.

It works as a plug-in for the Smarty template engine. It is a good complement SmartyValidate plug-in that performs server side validation.

It supports many built-in validation criteria: empty, range, length, checkbox, radio button, integer, float, email, credit card, list menu, date, date comparison, equality between fields, file size, file type, custom validator calls.

{formcat ...} tags can be located anywhere in the templates, regardless of where the corresponding fields are located in the form.

Picture of Joey Wong
Name: Joey Wong <contact>
Classes: 1 package by
Country: China China
Age: 34
All time rank: 185323 in China China
Week rank: 264 Up3 in China China Up

  Files folder image Files  
File Role Description
Plain text file block.catform.php Aux. smarty plugins of Formcat
Accessible without login Plain text file formcat.class.php Class formcat 1.01 lite version
Plain text file function.formcat.php Aux. smarty plugins of Formcat
HTML file manual_en.html Doc. formcat 1.01 manual

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:2,630
This week:660Up
 User Ratings  
 All time