Login   Register  
PHP Classes
elePHPant
Icontem

PHP Forms Generation and Validation Class: Generate and validate HTML forms

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 (28)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-01-03 (7 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 1,858 All time: 1,978 This week: 1,534Up
Version License PHP version Categories  
phpforms 1.0Free for non-commercial...4.3.0HTML, Validation
Description Author  

This package can be used to generate and validate.

There is the main class that can generate and validate the form.

There is a generic form control class and several derived classes that can render all the basic types of form inputs and also custom inputs.

Currently there classes for rendering inputs of the types: button, check box, date picker, file, hidden, image, label, password, radio, reset, select, submit, text and textarea.

The form can be rendered with templates that contain marks that determine where the inputs and labels appear.

The main class can validate form inputs using several types of built-in rules, as well with custom rules implemented by configurable functions and parameters.

Currently it implements the built-in validations: mandatory, minimum length, maximum length, e-mail address, only digits, and comparison.

Picture of Stefan Gabos
Name: Stefan Gabos <contact>
Classes: 11 packages by
Country: Romania Romania
Age: 35
All time rank: 321 in Romania Romania
Week rank: 57 Down2 in Romania Romania Down
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Files folder imageexamples (2 files)
Files folder imageincludes (17 files)
Files folder imagetemplates (1 directory)
Accessible without login Plain text file ChangeLog Data CHANGELOG file
Plain text file class.htmlform.php Class Main class
Accessible without login Plain text file License Lic. LICENSE file
Accessible without login Plain text file ReadMe Doc. README file

  Files folder image Files  /  examples  
File Role Description
  Accessible without login Plain text file example.php Example example script
  Accessible without login Plain text file example.xtpl Data example template file

  Files folder image Files  /  includes  
File Role Description
  Plain text file class.htmlform_button.php Class class for button controls
  Plain text file class.htmlform_checkbox.php Class class for checkbox controls
  Plain text file class.htmlform_control.php Class generic class that all the form's controls extend
  Plain text file class.htmlform_date.php Class class for date controls
  Plain text file class.htmlform_file.php Class class for file upload controls
  Plain text file class.htmlform_hidden.php Class class for hidden controls
  Plain text file class.htmlform_image.php Class class for image controls
  Plain text file class.htmlform_label.php Class class for label controls
  Plain text file class.htmlform_password.php Class class for password controls
  Plain text file class.htmlform_radio.php Class class for radio controls
  Plain text file class.htmlform_reset.php Class class for reset controls
  Plain text file class.htmlform_select.php Class class for select controls
  Plain text file class.htmlform_submit.php Class class for submit controls
  Plain text file class.htmlform_text.php Class class for text controls
  Plain text file class.htmlform_textarea.php Class class for textarea controls
  Plain text file class.xtemplate.php Class XTemplate Templating Engine
  Accessible without login Plain text file license.txt Lic. license of the XTemplate templating engine

  Files folder image Files  /  templates  
File Role Description
Files folder imagedefault (5 files)

  Files folder image Files  /  templates  /  default  
File Role Description
  Accessible without login Image file alert.png Icon image for error messages
  Accessible without login Image file calendar_icon.gif Icon icon for the date picker
  Accessible without login Plain text file htmlform_jscript.js Data java script file
  Accessible without login Plain text file style.css Data default stylesheet file
  Accessible without login Plain text file template.xtpl Data default template file

Downloadphpforms-2007-01-03.zip 50KB
Downloadphpforms-2007-01-03.tar.gz 35KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
PHP date picker class Download .zip .tar.gz TO BE ABLE TO USE THE DATE CONTROL Conditional
 Version Control Unique User Downloads Download Rankings  
 0%Total:1,858All time:1,978
 This week:0This week:1,534Up