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 :: how to link external css to html 
Html :: html horizontal line style 
Html :: commenting in html 
Html :: ver pdf en html 
Html :: how to embed videos in html 
Html :: youtube iframe embed 
Html :: change tab icon html 
Html :: html textarea 
Html :: html minus sign 
Html :: gradient on top of image css 
Html :: textarea readonly 
Html :: hyperlink html 
Html :: html vedio 
Html :: ng for index 
Html :: How can you make an email link 
Html :: video tag thumbnail 
Html :: middel click vuejs 
Html :: bootstrap 5 datalist example 
Html :: shopify include css file 
Html :: elementor icon controls 
Html :: ion-searchbar change event 
Html :: how to show pdf as image in html 
Html :: slider flash 
Html :: how to set an element affected by tab 
Html :: html table tfoot after thead 
Html :: filter in v-html 
Html :: html_entity_decode 
Html :: how can i make that user cant input sonething textbx 
Html :: bootstrap 3 button 
Html :: html text box 
ADD CONTENT
Topic
Content
Source link
Name
5+5 =