Where minvalue is now I would actually like to have a maxvalue of 12. What is the code for max value instead of min value? Thanks!
This uses jQuery and jquery.validate:
$(document).ready(function() {
$('#form').validate({
rules: {
username: {required:true, minlength:12},
items: {required:true, range:[1,100]},
}
EDIT: I realize I actually need max value, not max length, So what is the jQuery for max value?