-- 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 the prefix path for the wrong object -- use
addElementPrefixPath():

    $this->addElementPrefixPath('Custom_Validate', 'Custom/Validate/', 
'validate'); 

> $mail->addValidator('EmailConfirmation', false, array('mail'));
> But it gives me error 
> Uncaught exception 'Zend_Form_Exception' with message 'Invalid type
> "VALIDATE" provided to getPluginLoader()
> I am unable to resolve this
> Can somebody help me out please  

-- 
Matthew Weier O'Phinney
Software Architect       | [EMAIL PROTECTED]
Zend Framework           | http://framework.zend.com/

Reply via email to