Solved

jquery - form validation on a tabbed layout

Posted on 2009-03-29
3
329 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

Suggested Solutions

Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
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 how to dynamically set the form action using jQuery.
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…

739 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