I\'m using setCustomValidity function to check if the new password and the repeat password are equals but , I debugged the code and the comparisson its correct
setCustomValidity