(on Tuesday, 30 September 2008, 02:24 PM +0200):
> I'm using Zend_Form and decorators for setting up my forms. Is there a
> way to group all error messages (from validators) at the top of the form
> instead of displaying them below each single input field?
You can remove the Errors decorator from each element, and then attach a
decorator to the form for aggregating error messages. Currently, there
is not a shipped decorator that can do this, however, so you'll need to
create one.
--
Matthew Weier O'Phinney
Software Architect | matthew@zend.com
Zend Framework | http://framework.zend.com/
没有评论:
发表评论