News Feed
Jobs Feed
Sections




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

Neil Garb's Blog:
Compound elements with Zend_Form
July 17, 2008 @ 11:13:03

In a recent entry to his blog, Neil Garb shows his method for creating compound elements in a Zend_Form object in your Zend Framework website.

Zend_Form can save you a lot of time. It almost completely abstracts away the most boring and error-prone aspects of developing secure and standards-compliant HTML forms. But one thing it doesn't do out of the box is compound elements, such as three-field dates. In this post I'll show you the easiest way to do this ZF-style.

He goes through the creation of the sample controller, an example of a custom element (the multiple date drop-downs he mentioned) and how to handle the validation in a "Zend Framework way" via an isValid call.

0 comments voice your opinion now!
compount element zendform zendframework


blog comments powered by Disqus

Similar Posts

Padraic Brady's Blog: Zend Framework Blog Tutorial - Part 8: Create/Add Blog Entries (HTMLPurifier)

Rob Allen's Blog: The Redirector action helper

Danne Lundqvist's Blog: Site architecture based on Zend Framework

Pádraic Brady's Blog: Complex Views with the Zend Framework - Pt 5: The Two-Step View Pattern

Evert Pot's Blog: Integrating with Zend's OpenID


Community Events











Don't see your event here?
Let us know!


example symfony2 composer framework component hhvm security release introduction language unittest database package project podcast facebook install application hack performance

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework