A from validation library for JQuery, I did a couple of years ago.