Hi
i am using jquery validate and i have a login form that validate
the validation code show below
$("form#loginForm").validate({
submitHandler: function(form){
//code here
},
rules: {
user_login: { required: true },
user_password: { required: true}
},
messages: { }
});
The validation works fine
MY PROBLEM is that if i type the password first and then type the username and submit the form the password field is reset and ask me to type a password.
If type username first and then password all works fine.
Does anyone have an idea.
Thanks in advance