jQuery Validation Plugin | Form validation with jQuery. jqueryvalidation.org. add to compare. Here is Jquery to enforce maxlength for textarea when you add the attribute " maxlength".I am using JQuery validation plugin. I want to specify maxlength for one of the fields.It can be specified as below.