Well you can't, simply because all the form inputs have the same "name" attribute. You will have to change the model for each form.
On Sep 10, 8:12 am, Crux <cru...@gmail.com> 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 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 -~----------~----~----~----~------~----~------~--~---