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
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,
You should not have same forms on one page. From HTML point all same
elements in them will have same IDs that breaks JavaScriptAJAX. From
Cake point all of them is one form that produce validation messages
spread across them.
On Sep 10, 10:12 pm, Crux cru...@gmail.com wrote:
Hi Bakers,
I have