How can I restrict the number of alphabets in type="text" in form in HTML? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Respostas
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