ZF-10688: '*' array validator
Description
Following the official doc of Zend_Filter_Input http://framework.zend.com/manual/fr/…
I pass a new data to the validator without attached rules using empty array()
getMessages() give me an error '*' is empty and isValid method return null or false
I precise that i have add '*' = array(); (cf the doc) at the endest of $validator config
$input->getMessages return the merged arrays, and i have always the same error
Can you do something ?
Comments
Posted by Ralph Schindler (ralph) on 2010-11-18T15:45:09.000+0000
Can you please provide some code to demonstrate the issue? Perhaps just 3-5 lines worth.
Thanks, Ralph
Posted by Nicolas Renardet (xenesis) on 2010-11-19T17:17:30.000+0000
if i let no empty, i get with $input->getErrorMessages() [*] password is empty, so i write
'*' => array('All','allowEmpty' => true),) the error is fixed..
Extras_Validate_All validator contain nothing.. i must use the * in array, because if i let a validator like
if i let 'mx' on true and i remove the '' => array('All') (< or array()) i give some errors in [] that duplicate lots of error in email in all section like another validate field loginF
Posted by Nicolas Renardet (xenesis) on 2010-11-22T07:44:29.000+0000
hello, do you have some news ?