Re: [fw-general] Custom Validators and addPrefixPath method

2008-06-23 Thread Christer Edvartsen
I believe he is calling addPrefixPath from the init method in a class that extends Zend_Form_Element_Text. I wrote a blog post about this a while back and he posted a comment in my blog saying the same thing so that's why I'm guessing. :) The code works for me though (tried with 1.5.2 earlier t

Re: [fw-general] Custom Validators and addPrefixPath method

2008-06-23 Thread Matthew Weier O'Phinney
-- Rohit83 <[EMAIL PROTECTED]> wrote (on Monday, 23 June 2008, 02:23 AM -0700): > > Hi all I have written the custom validator for email verification > Now i added these validator on my form elelment by > $this->addPrefixPath('Custom_Validate', 'Custom/Validate/', 'validate'); You're setting th

[fw-general] Custom Validators and addPrefixPath method

2008-06-23 Thread Rohit83
Hi all I have written the custom validator for email verification Now i added these validator on my form elelment by $this->addPrefixPath('Custom_Validate', 'Custom/Validate/', 'validate'); $mail->addValidator('EmailConfirmation', false, array('mail')); But it gives me error Uncaught exception