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 :: input[type=time] datalist 
Html :: Simple example of adding javascript in HTML 
Html :: top js graphql clients 
Html :: how to make a title bar logo html 
Html :: site.baseurl page.image_path 
Html :: html mobile does not show pdf with object 
Html :: posh-ssh key authentication 
Html :: important html tags 
Html :: html how to create a box in the middle of a image 
Html :: html css change reading direction 
Html :: math whizz 
Html :: how to put more than one javascript function in an html tag 
Html :: ionic grid no margin 
Html :: spinner loader bootstrap 
Html :: service run on start 
Html :: html form meta data for image encryption 
Html :: html landing page templates free 
Html :: learn html 
Html :: href seo 
Html :: tailwind checkmark color 
Html :: https://stackoverflow.com/questions/47961310/how-to-stack-multiple-images-in-bootstrap-4-carousel?rq=1 
Css :: css media queries 
Css :: background color none 
Css :: darken image css 
Css :: 100vh - 100px 
Css :: new line in url 
Css :: css odd even child 
Css :: css font text stroke 
Css :: soft box shadow css 
Css :: css avoid line break in span 
ADD CONTENT
Topic
Content
Source link
Name
7+4 =