Search
 
SCRIPT & CODE EXAMPLE
 

HTML

phone number validation html

How about this? /(7|8|9)d{9}/

It starts by either looking for 7 or 8 or 9, and then followed by 9 digits.
Comment

html5 phone number validation with pattern and custom message

<input type="text" class="form-control" id="packet_name" name="packet_name" pattern="[^/:x22*?<>|]+" oninvalid="setCustomValidity('Invalid character in name:
  / : * ? < >.')" oninput="setCustomValidity('')" maxlength="100" required>
Comment

PREVIOUS NEXT
Code Example
Html :: what is dir attribute in html 
Html :: html bottom right corner 
Html :: hidden label html 
Html :: how to add multiple CSS inline html 
Html :: a tag open in new tab 
Html :: bootstrap colored link 
Html :: csp react 
Html :: disable autocomplete on input 
Html :: markdown: text alignment and size 
Html :: mailto subject 
Html :: dropdown bootstrap 
Html :: how to get a division to be in centre of screen in responsive web page for screen of any size 
Html :: twig default 
Html :: textfield autocomplete off 
Html :: Flutter Embedded Iframe 
Html :: add delay to hrefs 
Html :: express send html file 
Html :: copyright html 
Html :: bootstrap grids examples 
Html :: markdown color 
Html :: javascript onclick alert are you sure 
Html :: how to make text emphasized in html 
Html :: font awsome 
Html :: how to add two radio button in html 
Html :: embed maps responsive 
Html :: form input autocomplete off 
Html :: bootstrap font-weight bold 
Html :: favicon.ico 404 
Html :: embed meta tag nextjs 
Html :: animate on scroll github 
ADD CONTENT
Topic
Content
Source link
Name
4+2 =