[jQuery] Re: Multiple forms / validation error message focus

2009-07-14 Thread Anoop kumar V
Hi All, I think I have been able to solve the issue of the validation error messages not appearing on the correct form. If anyone else encounters the same problem, below is the fix / solution for it. (I had to use the event and firebug console). Changed lines are marked with a trailing //.

[jQuery] Re: Multiple forms / validation error message focus

2009-07-14 Thread Jörn Zaefferer
You shouldn't initialize the validation inside a click-event handler - that way it tries to init it on every click. Why not just select the form and call validate, eg. $(.main-title form).validate({ ... }); Jörn On Tue, Jul 14, 2009 at 10:42 PM, Anoop kumar Vanoopkum...@gmail.com wrote: Hi

[jQuery] Re: Multiple forms / validation error message focus

2009-07-14 Thread Anoop kumar V
The reason I think $(.main-title form) will not work for my case is because my form is structured like the following: form class=cbnav method=post action=user/region.jsp div class =main-titleKansas City (KC)/div div class=details /div /form So the form is actually a parent of the