Create a form in html5 .It must have pattern attribute which should validate the input given by you | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Create a form in html5 .It must have pattern attribute which should validate the input given by you

Use html5 pattern only

16th Feb 2018, 5:59 AM
Dattatraya Shinde
Dattatraya Shinde - avatar
1 Answer
0
Dattatraya Shinde This will allow only 3 chars which may be letter <input type="text" pattern="[A-Za-z]{3}" >
23rd Jul 2020, 5:55 PM
paperinflames
paperinflames - avatar