Thank you, always appreciate your detailed tutorials. Is there a way to set each of the conditions that is not met to show individual error messages? For example, if your password is 12 characters instead of the 16 required, can it trigger just the error message that indicates you need at least 16 characters? I've seen it where the conditions that are met are opaque and the one that is missing is highlighted.
thanks 🔥 Croco can be sometimes hard to understand and we are really happy to make it more easy in grabbing the ropes that indeed it's a powerful tool for creating complex solutions 💛
Because I know someone will appreciate: Include at least one number = (?=.*\d) or (?=.*[0-9]) Include at least one lowercase character = (?=.*[a-z]) Include at least one uppercase character = (?=.*[A-Z]) Include at least one symbol = (?=.*\W) Minimum length of 16 characters = .{16,} All together = ^(?=.\d)(?=.*[a-z])(?=.*[A-Z])(?=.*\W).{16,}$
well, let's imagine the situation when if there's no restrictions, then users will use weak passwords as abc123 anyway, it's up to the user which creates websites, which passwords to force and not only passwords if the info is secure