Managing Zend_Form in both MVC and no-MVC environments has a huge advantage, since Zend Framework comes with a load of decorators (HTML to display form fields), validators (functions to check user input) and filters (functions to filter user input). If you look for an easy way to handle all kinds of user input thru forms, [...]
Posts Tagged ‘Decorators’
No-MVC Zend Framework: Zend_Forms, Decorator, Validator and Filters
Posted: 5th February 2011 by admin in Zend FrameworkTags: autoloader, bootstrap, Controller, Decorators, Filters, MVC, PHP, View, YAML, Zend Framework, Zend_Form
No-MVC Zend Framework: Zend_Decorator and Zend_Validator
Posted: 7th February 2011 by admin in Zend FrameworkTags: comment spam blocker, Decorators, spam filter, Validators, Zend Framework, Zend_Form
In the last artice, we have already set some basic decorators for Zend_Form. The next one is a decorator for the label, appending an asterisk (*) to labels of required fields, and display error messages below the label instead of the field. In your “Form” subfolder, create a folder “Decorator”, and in it, a file [...]