ZF-5607: Allow validators to validate whole Multi field, not every value.

Issue Type: Improvement Created: 2009-01-22T03:47:35.000+0000 Last Updated: 2012-11-20T20:52:43.000+0000 Status: Closed Fix version(s): Reporter: Artur Bodera (joust) Assignee: None Tags: - Zend_Form

Related issues: Attachments:


I strongly suggest to give full control over the method of validating Zend_Form_Element_Multi elements!

As for now validators are run on each and every selected value, but there is no way to validate THE WHOLE FIELD, nor give it a GLOBAL SINGLE custom error message.

Current architecture does not allow i.e. to create a Zend_Validate_Count which would throw error if less (or more) number of fields have been selected. It also is buggy (see ZF-5603 and ZF-5412).


Posted by Rob Allen (rob) on 2012-11-20T20:52:43.000+0000

Bulk change of all issues last updated before 1st January 2010 as "Won't Fix".

Feel free to re-open and provide a patch if you want to fix this issue.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.