I'm stuck with HTML5 embedded form validation (non javascript). I need to meet all this parameters:
minimum 6 chars
at least 1 number
Could you help me to make sure it works as pattern attribute? For example:
<input type="password" pattern="myPattern" />
Thanks.
Thank you guys, I have found a working example and modified it:
<input type="password" pattern="^(?=.*[0-9])(?=.*[a-z])(?=.*[A-Z])(?=\S+$).{6,}$" />
edit: corrected typo
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With