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 4 Configuring Zend Validators
June 05, 2012 @ 11:25:45

On the MaltBlue blog Matt has posted the latest part of the "Zend_Form with Zend_Config" series, part four looking at using and configuring some form validators.

Welcome to the fourth and final part in the Zend Form Mastery with Zend Config series. Previously we looked at the basic form options, element and form wide prefixes, filters and element options. In this installment, we're going to look at configuring Zend Validators via our XML config. [...] To go in to all of them will take more time than is allowed in the confines of this article. So we're going to work through 5 of the more interesting and likely used ones.

He covers the validation for: email addresses, postal codes, seeing if a record exists in the database, IBAN validation and checking to see if a value is in an array. He gives XML examples for each of these validation methods including the definitions of options and error/feedback messages.

0 comments voice your opinion now!
zendform zendconfig configure validator tutorial xml


blog comments powered by Disqus

Similar Posts

Master Zend Framework: Configuring the ServiceManager with Abstract Factories

IBM developerWorks: Understanding the Zend Framework,Part 4: When there is no feed, Zend_HTTP_Client

Reddit.com: Hack: How to open the black box of Hacklang as a PHP developer

NETTUTS.com: How to Create a PHP/MySQL Powered Forum from Scratch

Ask About PHP: Codeigniter: Setting up multiple sites on one install


Community Events

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


api framework php7 introduction unittest interview example extension voicesoftheelephpant xdebug install opinion language community library laravel release laravel5 series podcast

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