This looks like a question about the validator plugin. You may want to use that in the subject line.
> > rules: { > > firstname: { required: true }, > > age: { number: true }, > > password: { min: 5, max: 32 } > > }, > > messages { > > password: "Please enter a password between 5 and 32 characters long." > > } > > }); and thing such : $("#myform").validate({ > > errorClass: "invalid", > > errorContainer: $("#messageBox"), > > errorWrapper: "li" > > }); _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/