Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bootstrap 3 phone number validation

Does anybody know if it's possible to validate a phone number (just to check if the value is an integer) in bootstrap v3?

like image 657
Tomarz Avatar asked Mar 22 '23 11:03

Tomarz


1 Answers

It´s not a bootstrap thing. Take a look at this one:

<input type="number" name="quantity" min="1" max="5">
<input type="tel" name="usrtel">

http://www.w3schools.com/html/html_form_input_types.asp

like image 159
chris Avatar answered Mar 31 '23 21:03

chris