On Fri, Feb 22, 2013 at 2:39 PM, zburnham <[email protected]> wrote: > Maybe I'm missing something, but here's the problem: > > I have a form in which and empty value in one input may or may not be valid > depending on context. I have a custom validator to determine that. But, > when I call ->isValid() on the form, my custom validator may not be called > depending on the 'required' and 'allow_empty' settings I've given to the > Factory class. For example, I could set 'allow_empty' to 'true' in the > spec, but here's what happens:
Can you give a concise input (and/or input filter) definition that raises the problem for you, the data set you're trying to validate, and what you expect? I'm having trouble following from the description, and quoting the internals of the code is not really getting the idea across. I think with the information I'm requesting, I'll have a better idea, and can either help with a solution, or indicate whether or not it's expected behavior. -- Matthew Weier O'Phinney Project Lead | [email protected] Zend Framework | http://framework.zend.com/ PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
