I want to disable/enable navigation based on whether the current form has all it's required fields filled correctly or not. Is there a property or some JQuery function to call which will tell me if the form is complete or not?
Asked
Active
Viewed 984 times
-2
-
this question is very broad - form validation is always a very customized thing to be done, can you provide a code example? – Zathrus Writer Sep 26 '12 at 16:22
-
[What have you tried?](http://whathaveyoutried.com) – Shmiddty Sep 26 '12 at 16:22
-
1I would say use any validation plugin and u r all set. jquery.validate.js is the most famous one, – Dhruvenkumar Shah Sep 26 '12 at 16:33
3 Answers
2
Also worth looking at jquery validation plugin http://docs.jquery.com/Plugins/Validation

Avi Kessel
- 96
- 1
- 9
1
To answer this as broadly as possible with regards to today's standards, you might want to look into HTML5 form validation.

Zathrus Writer
- 4,311
- 5
- 27
- 50
0
got it thanks.
The valid() function is what I was looking for. I had been playing with JQuery Validation plugin but didn't see this key function.
how to check if a form is valid programmatically using jQuery Validation Plugin

Community
- 1
- 1

learnerplates
- 4,257
- 5
- 33
- 42