Prev Demo
HTML5
>
N Characters Integer Only
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title>Demo</title> </head> <body> <form method="post"> <input type="text" class="form-control" name="contactPhone" id="contactPhone" required pattern="[0-9]{10}" maxlength="10" /> <input type="submit" value="Submit" /> </form> </body> </html>
Note: We DO NOT save your trial code in our database.
Output