I've been trolling around for a couple days now looking for some good resources on form validation and submission with jQuery. Of course, I've been able to find some specific blog posts on sites like NetTuts and ThemeForest, but I'm looking for best practice information.
What is the best way(s) to validate user form information? Plugins? From scratch?
Again, I'm looking for best practices, or accepted, methods of validation and submission from the wider community. If you have any specific links or articles, pass it on for us all to peruse.
Thanks!
One of my favorite jQuery form validation plugins has to be Happy.js. It's very lightweight and extensible, and requires very little effort to get working.
The standard way to validate with jQuery is to just use the jQuery validation plugin. It's widely used, regularly maintained, easy to use and mature. There's no point in rewriting something that's already been done. You can obviously use this plugin to control form submission.
精彩评论