News Feed
Sections




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

MaltBlue.com:
Zend Form Mastery with Zend_Config - Part 3, Standard Form & Element Options
May 22, 2012 @ 09:16:31

On the MaltBlue.com blog they've posted the latest part of their series on using Zend_Config configuration files to create Zend_Form elements. In this latest article, they show how to set some of the other properties on the elements (like "readonly" or "required").

We've looked at custom form filters and we've looked at the core form configuration. But what about the other form properties? What about: setting an element as readonly, an element as required, ignoring an element and love them or hate them, what about decorators.

He shows how to update the XML file to add these new attributes into the structure and the resulting form. Also included are a few examples of using decorators to configure the look, feel and modify the attributes.

0 comments voice your opinion now!
tutorial zendconfig zendform xml configuration


blog comments powered by Disqus

Similar Posts

Rob Allen's Blog: Vagrant in Zend Framework 1

IBM developerWorks: Developing PHP the Ajax way, Part 2 - Back, Forward, Reload

SitePoint PHP Blog: Understanding Symfony Bundle Configuration and Service Container

DevShed: Using Abstract Factory Classes in PHP 5 to Work with Online Forms

Pascal Opitz's Blog: An example of how to use Pimple DI with ZF 1.x


Community Events





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


framework community series conference introduction zendserver bugfix language symfony code interview api list tips podcast voicesoftheelephpant deployment release threedevsandamaybe laravel

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