maybe i didnt understand you in the first place do you want me to move both validation rules to the $validate? model internal and behaviorial validation rules? or only the first ones? i could try that - the beh. rules must stay though to accomplish the way this captcha is supposed to work
On 20 Feb., 22:06, "Mark (Germany)" <dereurom...@googlemail.com> wrote: > well, this is easy - of course :) > > but i'd really apprechiate if it would be possible the way described > above > > as it is very flexible to add captchas > > in the view > > echo $captcha->input(); > > in the controller > > ...->Behaviors->attach('Captcha'); > > and the rest would be done automatically > > it works - but as i said, only after each other and not combined > maybe i need to use some other return value. > > On 19 Feb., 19:06, mscdex <msc...@gmail.com> wrote: > > > On Feb 17, 9:56 am, "Mark (Germany)" <dereurom...@googlemail.com> > > wrote: > > > > hey there > > > > i tried for hours - but i can't get it to work > > > i want that the errors of the model AND of the behaviour are both > > > shown togehter (not after each other, as soon as one of them is fine). > > > Have you tried putting all of these beforeSave validation checks into > > your model's $validate array as individual validation rules? That way > > all error messages would appear on the form together (next to their > > respective form fields). --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---