reset the result when the password field is empty