+ 1

How to use pattern in html for not allow any numbers and special characters other than space?

8th Dec 2017, 8:16 AM
Bala Subramaniam
Bala Subramaniam - avatar
4 Respostas
+ 1
this question is also is fom me to I also want to know this answers.
8th Dec 2017, 2:22 PM
Arpan Kanwer
+ 1
by using, <input type="text" pattern="[A-Za-z ]+"/> this is the answer for this question
8th Dec 2017, 2:51 PM
Bala Subramaniam
Bala Subramaniam - avatar
+ 1
how bro explain it bro
9th Dec 2017, 3:55 AM
Arpan Kanwer
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
9th Dec 2017, 5:40 AM
Bala Subramaniam
Bala Subramaniam - avatar