I have this pattern for html input password (UpperCase, LowerCase, Number/SpecialChar and min 8 Chars)
(?=^.{8,}$)((?=.*\d)|(?=.*\W+))(?![.\n])(?=.*[A-Z])(?=.*[a-z]).*$
The form submits with an empty input, how can I prevent this from happening?
Aucun commentaire:
Enregistrer un commentaire