Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Zend\Validator\Explode doesn't work nicely with InputFilter Factory/Annotations #2695

cgmartin opened this Issue · 4 comments

3 participants


The Explode validator requires a child validator for it to work. The child validator is impossible to add via the InputFilter Factory (and Annotations). This affects Select, MultiCheckbox, Email, and File elements.

A potential solution might be to change the Explode validator to extend from ValidatorChain, instead of AbstractValidator.


@cgmartin is this still an issue?
@weierophinney this seems to be a form / annotation issue as well? can you examine?


Well, it's related to the factory. I like the idea @cgmartin presents -- what I'd like to see is the desired code and/or configuration to get the behavior; from there, I can create a solution.

@weierophinney weierophinney was assigned

I'd be happy to come up with some code, configuration, and take a stab at a solution. Will add this one to my todo list.


Closing due to inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.