PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,891 All time: 2,087 This week: 49Up
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: 12 packages by
Country: Romania Romania
Innovation award
Innovation award
Nominee: 2x

Winner: 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 (28)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
Downloadphpforms-2007-01-03.zip 51KB
Downloadphpforms-2007-01-03.tar.gz 36KB
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,891
This week:0
All time:2,087
This week:49Up