Hmm,

When you say "screetching to a halt", what actually happens? Is an exception
thrown?  The validators will return true or false, and filters will returned
the filtered content.

On Mon, Feb 2, 2009 at 2:00 PM, benxmy <ben...@gmail.com> wrote:

>
> 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.
>
>


-- 
A.J. Brown
web | http://ajbrown.org
phone | (937) 660-3969

Reply via email to