<p>Any recommendations for a javascript form validation library. I could try and roll my own (but I'm not very good at javascript). Needs to support checking for required fields, and preferably regexp validation of fields.</p>

[{'answer_id': 17822, 'author': 'Tom', 'author_id': 20, 'author_profile': 'https://Stackoverflow.com/users/20', 'pm_score': 2, 'selected': True, 'text': '<p>I\'ve used <a href="http://tetlaw.id.au/view/javascript/really-easy-field-validation" rel="nofollow noreferrer">this library</a> for a couple of personal projects. It\'s pretty good, though I have had to make my own modifications to it a couple of times - nothing major, though, and it\'s easy enough to do so.</p>\n\n<p>I\'m sure you already do this, but also validate all of your information on the server-side, as well. Client-side-only validation is rarely, if ever, a good idea. </p>\n'}, {'answer_id': 17824, 'author': 'AidenMontgomery', 'author_id': 1403, 'author_profile': 'https://Stackoverflow.com/users/1403', 'pm_score': 3, 'selected': False, 'text': '<p>I am about to start implementing javascript validation in my forms using <a href="http://bassistance.de/jquery-plugins/jquery-plugin-validation/" rel="noreferrer">jQuery Validation</a>.\nI think that StackOverflow users this jQuery plugin as well. It seems to be a very mature validation library, however it does build on top of jQuery, so it might not fit for you.</p>\n\n<p>Like Tom said, don\'t forget that server side validation.</p>\n'}, {'answer_id': 17846, 'author': 'Nick Berardi', 'author_id': 17, 'author_profile': 'https://Stackoverflow.com/users/17', 'pm_score': 2, 'selected': False, 'text': '<p>Personally I just rolled my own because it was much simpler to integrate with my error handling system and how I wanted it displayed on the site.  99% of the time you only care about a couple of things, required fields and comparing fields. </p>\n'}]
['https://Stackoverflow.com/questions/17817', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1912/']