Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery validate all input fields

function validate(){
    $.each($('form :input'),function(){
        $(this).blur().change();        
    });
    
    //individual form input checking
    if(!checkFormINput1() || !checkFormInput2() || !checkFormInput3() || !checkCFormpuntput4() ){
        return false;   
    }
    else{
        return true;
    }
}
 
PREVIOUS NEXT
Tagged: #jquery #validate #input #fields
ADD COMMENT
Topic
Name
9+8 =