+ 1
How to use pattern in html for not allow any numbers and special characters other than space?
4 Respostas
+ 1
this question is also is fom me to I also want to know this answers.
+ 1
by using,
<input type="text" pattern="[A-Za-z ]+"/>
this is the answer for this question
+ 1
how bro explain it bro
0
for example:
we want a user name with only alphabets and space and also its not containing any special character or numbers means we only mention in that alphabets in pattern input type
by denoting <pattern="[A-Za-z]+".
In above example only takes alphabets from upper case A-Z and lowercase a-z.
+ denotes the letter taken from A-Z if its not mention it will only display A or a