Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

jquery - form validation on a tabbed layout

Posted on 2009-03-29
3
Medium Priority
?
338 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 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

There are a couple ways to attach a JavaScript function to dynamically created elements. You can make a new script for each element as it’s created or you can use delegation. Delegation allows a single script that is added at page creation to mat…
A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one 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 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…
Suggested Courses

916 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