Login   Register  
PHP Classes
elePHPant
Icontem

PHP Forms Generation and Validation Class

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

  Author  
Picture of Stefan Gabos
Name: Stefan Gabos <e-mail contact>
Packages: 11 Browse all classes by Stefan Gabos Browse all classes by
Country: Romania Romania - PHP jobs in Romania
Age: 33
All time rank: 321 in Romania Romania
Week rank: 55 Down2 in Romania Romania Down
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download .zip .tar.gz  
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.

  Classes of Stefan Gabos  >  PHP Forms Generation and Validation Class  >  Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP Forms Generation and Validation Class
Base name: phpforms
Description: Generate and validate HTML forms
Version: 1.0
PHP version: 4.3.0
License: Free for non-commercial use
All time users: 1832 users
All time rank: 1914
Week users: 0 users
Week rank: 2074 Equal
 
  Groups   Freshmeat project   Rate classes User ratings  
  Dependencies   Applications   Related links   Files Files  

  Groups  
Group folder image HTML HTML generation and processing View top rated classes
Group folder image Validation Validation algorithms View top rated classes


  Freshmeat project  
PHP Forms Generation and Validation Class
Project record: phphtmlform
Popularity score: 134.86
Vitality score: 18.31

  User ratings  
Not yet rated by the users

  Packages needed by this class  
Class Dependency Why it is needed
PHP date picker class
Conditional
TO BE ABLE TO USE THE DATE CONTROL

  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.

  Related links  
Link Description
Documentation Documentation for the PHP HTML Forms Generation and Validation Class

  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  /  Files folder image 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  /  Files folder image 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  /  Files folder image templates  
File Role Description
Files folder imagedefault (5 files)

  Files  /  templates  /  Files folder image 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

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