Re: Validation errors are shown for all forms on page, instead of just for the submitted form.

2009-09-10 Thread Dr. Loboto
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 wrote: > Hi Bakers, > > I have multiple for

Re: Validation errors are shown for all forms on page, instead of just for the submitted form.

2009-09-10 Thread Miles J
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 wrote: > Hi Bakers, > > I have multiple forms on single page/view, and upon submit, validation > errors are shown for all forms, instead of

Validation errors are shown for all forms on page, instead of just for the submitted form.

2009-09-10 Thread Crux
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 erro