Zebra_Form, a PHP class for creating and validating beautiful, secure, and functional HTML forms

Zebra_Form is a PHP class that simplifies the process of creating and validating HTML forms. Its object-oriented structure promotes rapid HTML forms development and encourages developers to write clean and easily maintainable code. It frees the developers from the repetitive task of writing the code for validating forms by offering powerful built-in client-side and server-side validation.

Zebra_Form has an integrated cross-site scripting prevention mechanism that automatically strips out potentially malicious code from the submitted data. It also prevents automated SPAM posts, out of the box and without relying on CAPTCHA by using honey pots.

Output can be generated either automatically or manually through templates (basic PHP files). When generated automatically, the generated output validates as HTML 4.01 Strict or XHTML 1.0 Strict and has the same look & feel across all major browsers like Firefox, Chrome, Opera, Safari, Internet Explorer (yes, IE 6, too).

It provides all the controls you’d expect in an HTML form and, additionally, date/time pickers, captcha and AJAX-like file upload controls.

The client-side validation is based on the MooTools JavaScript framework (and it works with MooTools 1.2.5 and aswell with MooTools 1.3+ with or without compatibility mode)

Zebra_Form’s code is heavily commented and generates no warnings/errors/notices when PHP’s error reporting level is set to E_ALL.

Last edited Apr 10, 2011 at 4:53 PM by stefangabos, version 4