Accept only name and space in html form -
i'm trying create sign page want user can enter proper name without integer or thing space , character should accept i'm trying pattern="[a-za-z]{3,10}"
but it's accepting character, it's not accepting space
just add blank space
pattern
-
$pattern="[a-za-z ]{3,10}";
Comments
Post a Comment