phone no validation

<form>
  Phone Number (format: xxx-xxx-xxxx):
  <input type="tel" pattern="^\d{3}-\d{3}-\d{4}$" required >
  
  <input type="submit" value="Submit">
</form>


<form>
  Phone Number (format: xxxxxxxxxx):
  <input type="tel" pattern="^\d{10}$" required >
  
  <input type="submit" value="Submit">
</form>

Comments

  1. very nice blog,please visit this site for bitcoin atm card ranking.you can change any money into another currency in any where in the world.

    ReplyDelete

Post a Comment

Popular posts from this blog

How to seperate character from string in php

How to Delete record using PHP Ajax

Uploads Only 10 files in month step by step