How should not allow special characters and numbers in text box?But it allow space.without using java script and use only html 5 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How should not allow special characters and numbers in text box?But it allow space.without using java script and use only html 5

8th Dec 2017, 6:52 AM
Bala Subramaniam
Bala Subramaniam - avatar
5 Answers
+ 1
i tell this is the answer by using html 5 k got it
8th Dec 2017, 8:50 AM
Bala Subramaniam
Bala Subramaniam - avatar
0
tell another ans its depend on c and java script.But i want it in html 5
8th Dec 2017, 7:05 AM
Bala Subramaniam
Bala Subramaniam - avatar
0
Its only question i asked in this discussion. I don't know the answer.I think by using some of input attributes.
8th Dec 2017, 7:14 AM
Bala Subramaniam
Bala Subramaniam - avatar
0
k tell me the java script concept
8th Dec 2017, 7:17 AM
Bala Subramaniam
Bala Subramaniam - avatar
0
bro by using pattern type to allow special char,number and alphabets. Ex:<input type="text" pattern="[A-Za-z0-9]+"/>
8th Dec 2017, 8:40 AM
Bala Subramaniam
Bala Subramaniam - avatar