Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Zend Developer Zone:
Generating and Validating Web Forms With PEAR HTML_QuickForm (part 2)
Jan 22, 2008 @ 07:57:00

The Zend Developer Zone has released part two of a series (here's part one posted back in November) looking at making forms for your website with the help of the PEAR HTML_QuickForm class.

I'll be discussing some of the package's non-standard form elements, teaching you how to combine elements into groups, showing you how to apply templates to control a form's appearance, and guiding you through the process of writing and registering your own custom validation rules.

There's plenty of sample code and screenshots to go around in this second part including examples of form auto-completion, multi-select elements and and example of its integration with Smarty.

tagged: form generate validate pear htmlquickform series