Are you talking about the thing like jQuery Form Validator formvalidator.net .
and also from jKit. http://jquery-jkit.com/commands/validate.html
They have done the job, why not use it?