Solved

jquery - form validation on a tabbed layout

Posted on 2009-03-29
3
324 Views
Last Modified: 2012-05-06
Just wondering what is the best way to handle setting as selected the tab that contains the form field that failed validation on form submission.
0
Comment
Question by:Glen_Mac
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
jeremyBass26 earned 500 total points
ID: 24015648
check this out... It's super simple to use...
http://bassistance.de/jquery-plugins/jquery-plugin-validation/
Or but the same
http://docs.jquery.com/Plugins/Validation


it could be as simple as

$("#commentForm").validate();
 :)

cheers
jeremyBass
0
 
LVL 5

Expert Comment

by:prokvk
ID: 24042034
0
 
LVL 4

Expert Comment

by:jeremyBass26
ID: 24044781
For what it's worth ... I'd stick to the one endorsed by jQuery ;)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now