Activate jQuery accordion section with validation errors

Posted by Khalil Dahab on Stack Overflow See other posts from Stack Overflow or by Khalil Dahab
Published on 2010-04-14T09:08:10Z Indexed on 2010/04/14 9:13 UTC
Read the original article Hit count: 366

I am using xVal for client validation in an ASP.NET MVC application. Since I have too many fields in one of the forms, I split it into sections and used jQuery accordion to display one section at the same time. Is there a way to activate the accordion section which contains validation errors when the user clicks submit?

© Stack Overflow or respective owner

Related posts about xval

Related posts about jquery-ui