Hi
By default, I can use in the field "password" the rule 'At least 6 caracters, one uppercase, one lowercase,one special character, one digit'
It works fine.
I would like to use the same REGEX but with 8 digits.
So I use ^(?=.{8,}$)(?=.*?[a-z])(?=.*?[A-Z])(?=.*?[0-9])(?=.*?\W).*$
It works fine to, but the display of the error message if I make a mistake, is not the same with the default 6 digits.
I explain :
With the default REGEX (6 digits), if I make a mistake, and I correct them, the error message disappear
With my REGEX (8 digits), even if I correct my mistake, the error message still display.
Hope you understand my request.
Best regard