Wednesday, December 31, 2008

Validation errors for the wrong form

Hi all,
Apologies if this has been addressed before, but I've searched and
can't find a thing.

I have a register page, with a login element in the sidebar. The login
element is on every page in the sidebar. When I try register with
invalid data, the correct validation errors show for the register
form. However, the errors are also showing on the login form, even
though that hasn't been submitted. The login form is using jQuery Ajax
to submit.

Any ideas anyone?

Thanks!
--~--~---------~--~----~------------~-------~--~----~
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: