form validation with jquery
        Posted  
        
            by kalpaitch
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by kalpaitch
        
        
        
        Published on 2010-03-15T00:48:36Z
        Indexed on 
            2010/03/15
            0:49 UTC
        
        
        Read the original article
        Hit count: 674
        
jQuery
|validation
I am having some issues with a jQuery form validation pluggin. Below is the code which executes on document.ready()
$("#register").validate({
    rules: {
        usernameREG: {
            required: true,
            remote: "PHP/checkUsr.php",
            minlength: 4}
        fnameREG: {
            required: true}
        lnameREG: {
            required: true}
        password1REG: {
            required: true,
            minlength: 4}
        password2REG: {
            equalTo: "#password1REG",
            required: true}
        emailREG: {
            required: true,
            email: true}
        telREG: {
            required: true,
            rangelength: [9, 13]}
    }
    });
Even without the 'rules' parameters this function does not trigger. It also stops all the proceeding jquery functions which are triggered on document.ready()
© Stack Overflow or respective owner