Tuesday, March 31, 2009

Re: Why is validation called twice?

Well, you have too many 'recaptcha'-s:

'recaptcha' => array(
'recaptcha' => array(
'rule' => array('recaptcha'),
'message' => 'captchaFailed'
)
)

Just try to name those differently and try again, for example:

'myrecaptcha' => array(
'recaptcha2' => array(
'rule' => array('recaptcha'),
'message' => 'captchaFailed'
)
)

Hope this helps.

On Mar 31, 11:43 pm, Miles J <mileswjohn...@gmail.com> wrote:
> Thats my last resort type of deal. Just wondering why its called twice?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: