i once tried to implement this as behavior
the interesting aspect: everything happens in one place (except for
the view part which should be done by some helper):
 - creating new captcha, passing it to controller in afterFind(),
passing it to view
 - displaying it there through helper (maybe some automatic detection
 - validation of that in the behavior

all we would have to do in the controller action:
 $this->Model->Behaviors->attach('Captcha') or something like that
everything should now be "magic" - at least in my theory :)



On 22 Jul., 00:53, Nick <manj...@gmail.com> wrote:
> Hello,
>
> i am trying to set up pretty simple board application and came wit a
> problem of captcha validation.  Problem occures when validating the
> form as one because i use $validation array method in my model and
> most captchas components use validation in controller, which sets a
> problem of validation priorities since i have some costum validation
> functions in my model.  what i would like to achieve is that the
> validation errors would show under each input field (including captcha
> field) when post is submitted.
>
> ive tried some components that i found in bakery but couldnt get it
> rolling because i run into validation problems.
>
> if someone has a solution for this problem i would really appriciate
> this.
>
> Thanks,
> Nick
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to