Solved

jquery - form validation on a tabbed layout

Posted on 2009-03-29
3
323 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Introduction Chart.js, used properly, can visually add a difference to your charting applications. It engages your visitors and allows them to interact with data they otherwise wouldn't be able to without expensive and complicated systems. For this…
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 …
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)
The viewer will learn the basics of jQuery including how to code hide show and toggles. 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…

747 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

12 Experts available now in Live!

Get 1:1 Help Now