bookme try reading up on the cakephp manual or api regarding
validation. All your questions are answered very sufficiently there.
On Oct 13, 2:17 pm, bookme <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am using Integrate CakePHP with Kcaptcha from bakery.
>
> Finding problem at the time of captcha validation from controller.
>
> I found below code
> $this->User->validate = array('captchaText' => array('Mycaptcha' =>
> array('method' => 'validateCaptcha', 'message' => 'your error
> message')));
>
> I tried to find out definition for this method but could not succeeded
>
> Can any one tell me what's Mycaptcha here and where should I write
> code for validateCaptcha function.
>
> I put this code at three different places but could not succeed, User
> model , captcha component or a helper validation.php
>
> Please tell me what 's Mycaptcha and where should i put code of
> validateCaptcha function.
>
> Or can somebody tell me how to set error message from controller ?
>
> Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---