2
I’m creating a role in jquery
where the user enters his password, this function identifies how many uppercase characters are in this password, to calculate the strength of that password.
I even managed to make this function count the uppercase characters, but still I could not get the desired result.
For example: the function can count the uppercase characters when they are at the beginning of the password, but if the user type a lowercase character, the next uppercase characters will not be counted, and that is where the problem arises.
Here is the link of the tests I performed: Here!.
Hello @Luis, because then, I’m doing this way because in my original layout I will implement a degrade bar with red colors for incorrect passwords, yellow for reasonable passwords and green for correct passwords, all this dynamically as the user type, understood?
– Bruno Duarte