You should not have same forms on one page. From HTML point all same elements in them will have same IDs that breaks JavaScript&AJAX. From Cake point all of them is one form that produce validation messages spread across them.
On Sep 10, 10:12 pm, Crux <[email protected]> wrote: > Hi Bakers, > > I have multiple forms on single page/view, and upon submit, validation > errors are shown for all forms, instead of just for the submitted > form. This is because multiple forms contain identically named fields: > User.email, User.password etc. > > How do I force Cake to display validation errors only for a form that > has been submitted, and ignore other forms on the page? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
