Happy JS is a lightweight (2.9kb) jQuery form validation plugin.
The plugin is easy to use and style with only a minimal set of features. If you only require a simple set of validation rules or want to write your own then this plugin is for you. If not, then you might consider using something like this.
If validation fails, a customised message is displayed before for the from field in a span element with an “unhappy” class.