Get the same failure with Alnum. I thought maybe using the built-in Regex
validation class might work, so i've altered the $_validators array to look
like this:
***********
protected $_validators = array(
'field1' => array('regex',true,array('/[^a-zA-Z\'\-\ ]/')),
'field2' =>
array('Digits',array('StringLength',false,array(1,1))),
'field3' => array('Digits')
);
***********
but with field1 I now get the following error:
Missing argument 1 for Zend_Validate_Regex::__construct() ...
I'm thinking that I can write my own validation class, but I figure that
there must be something in ZF that can do this!
A.J. Brown-3 wrote:
>
> Hi,
>
> Did you try adding filtering with Alnum?
>
>
--
View this message in context:
http://www.nabble.com/getMessages%28%29-crashes-with-quotes%21-tp21793751p21798248.html
Sent from the Zend Framework mailing list archive at Nabble.com.