Reputation: 182
Thanks for taking the time to help out.
I'm using ASP.NET WebForms and I need a build a custom control for a custom CMS. I've implemented the server-side validation already. What it does is it check whether the values of the required fields are different than null and if they are not it shows a label which states that the field is required.
Now I'd like to implement a jQuery validation (I was instructed not to use the built in validation asp.net controls) and want to show the same labels if some condition is not fulfilled (like if the value of a required textfield is null).
I have very minimal knowledge in jQuery but I'm a fast learner. Could you give me some pointers and directions as to where to start. Thank you very much!
My question has been answered. If you are looking for an answer to my question, just read through the comments bellow. Big thanks to the community!
Upvotes: 0
Views: 189
Reputation: 19692
Try this:
http://codebetter.com/karlseguin/2009/04/28/validation-part-2-client-side/
Upvotes: 0
Reputation: 39763
There is an Excellent jQuery Validation plugin. bassistance has a nice article, and StackOverflow is filled with jQuery validation questions.
To get you started:
Upvotes: 1
Reputation: 6742
the standard way of doing validation in jQuery is the validation plugin.
it has very good documentation as well.
Upvotes: 0