assets/js/custom (another copy).js
//For discription lenght should be 360 --- START-----
For discription lenght should be 360 --- START
For discription lenght should be 360 --- START
function check_description_length(){
           var length = $(".description_length").val().length;
            if(length >= 360)
            {
                $(this).css('border-color','red');
                $('#invalid_description_length').html('Invalid description length. It should have a maximum of 360 characters.');
                return false;
            }else{
                $(this).css('border-color','#ccc');
                 return true;
            }
}
function check_description_length ( ) { var length = $ ( ".description_length" ) . val ( ) . length ; if ( length >= 360 ) { $ ( this ) . css ( 'border-color' , 'red' ) ; $ ( '#invalid_description_length' ) . html ( 'Invalid description length. It should have a maximum of 360 characters.' ) ; return false ; } else { $ ( this ) . css ( 'border-color' , '#ccc' ) ; return true ; } }
For discription lenght should be 360 --- START
For discription lenght should be 360 --- START
//email_valid =  input field id, invalid_email = error show id