Uncaught TypeError: Cannot read property ‘call’ of undefined

Replace minlen with minlength, and it works, there is no minlen property, so call fails internally

$('form').validate({
    rules: {
        first_name: {
            minlength: 3,  // <- here
            maxlength: 15,
            required: true
        },
        last_name: {
            minlength: 3,
            maxlength: 15,
            required: true
        },
   ..........

Leave a Comment