0

Can anyone give me some source where i can learn about " pattern in input tag"?

11th Dec 2020, 2:32 AM
NUR ISLAM
NUR ISLAM - avatar
3 Respostas
+ 1
Yes. You can see this article and learn something: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/pattern
11th Dec 2020, 10:39 AM
Bibek Oli
Bibek Oli - avatar
+ 1
Ok, you can use pattern attribute to validate the input using regular expression. eg: here in this code, I've given regular expression pattern that accepts only number of 5 digits. Play with it and you can learn something. https://code.sololearn.com/W7f840lU4vn9/?ref=app
11th Dec 2020, 10:59 AM
Bibek Oli
Bibek Oli - avatar
0
March Zucherberg 😣 mdn/w3schools 🚫
11th Dec 2020, 10:42 AM
NUR ISLAM
NUR ISLAM - avatar