Search
 
SCRIPT & CODE EXAMPLE
 

HTML

how to validate mobile number in html form

<div>
  <label for="phone">Enter your phone number:</label>
<input type="tel" id="phone" name="phone"  pattern="+94[7-9]{2}-[0-9]{3}-[0-9]{4}" value="+94">
 </div>
Comment

add html validation to mobile number

<input type="text" pattern="[789][0-9]{9}">
Comment

PREVIOUS NEXT
Code Example
Html :: list html 
Html :: arnav.tcode.in 
Html :: img on click html 
Html :: how to download folder using scp 
Html :: html image goes outside div 
Html :: how to use figure and caption in html 
Html :: tailwind css modal 
Html :: month and year picker bootstrap 
Html :: html svg favicon 
Html :: fa icon facebook 
Html :: chrome responsive mode not working 
Html :: times html 
Html :: a href to other site 
Html :: htmladjacent 
Html :: translate html text in magento 2 
Html :: what is the html code of changing color 
Html :: <input autocomplete="off"</input 
Html :: how to align image in right in html 
Html :: bootstrap progress bar 
Html :: html textboxes 
Html :: how to put anchor in center in html 
Html :: html boilerplate vscode 
Html :: hyper text markup language 
Html :: how to include external javascript in html 
Html :: how to center a text html 
Html :: ordering collumns in bootstrap 
Html :: word inhoudsopgave 
Html :: video slider html 
Html :: tailwind css header 
Html :: font color Imagefont pil 
ADD CONTENT
Topic
Content
Source link
Name
8+9 =