How can I restrict the number of alphabets in type="text" in form in HTML? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

How can I restrict the number of alphabets in type="text" in form in HTML?

Using maxlength attribute in html,I cannot able to restrict the number of alphabets.Only I can able to restrict the number of digits

25th May 2020, 7:22 AM
Charm
Charm - avatar
2 Réponses
25th May 2020, 7:32 AM
Calviղ
Calviղ - avatar
0
I don't think it's possible without JavaScript
25th May 2020, 8:45 AM
Ore
Ore - avatar