PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
  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 (9 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 1,876 All time: 2,038 This week: 1,099Up
Version License PHP version Categories
phpforms 1.0Free for non-comm...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
Innovation award
Innovation award
Nominee: 1x

Details
Zebra PHP Framework

PHP HTML Form Processor Class

author     Stefan Gabos, ix at nivelzero dot ro
version    1.0 BETA (last revision: December 18, 2006)
copyright  (c) 2006 Stefan Gabos

A PHP class for HTML forms generation and validation. 
It provides an easy and intuitive way of handling both HTML form design (based on templates) and
basic server-side form validation. Custom validation (both server-side and client-side) can also
be implemented very easily. It provides all the basic controls available in an HTML form like
text controls, textarea controls, submit buttons, reset buttons, standard buttons, drop down boxes,
radio buttons, checkboxes, image controls, hidden controls, file upload controls, password controls
and a date picker control.

In order for the date control to work you must also download the PHP Date Picker Class from this
address http://stefangabos.blogspot.com/2006/05/zebra-php-framework-downloads.html and configure
the PHP Form Generation and Validation Class by setting the datePickerPath property to point to
the date picker class

This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivs 2.5 License.
To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/2.5/ or send
a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.

For more resources visit {@link http://stefangabos.blogspot.com}
  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

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,876
This week:0
All time:2,038
This week:1,099Up