Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

282
Views
Auto-format for user mobile number input using input masking for with and without extention code

I have a input type and using input data mask pattern '(999) 999 - 9999'. This mask is not allowed mobile number prefix extension code (Ex : +1,+44) or more then 10 digits.

<input type="text" data-mask="(999) 999-9999"/>

I need to accept both the mobile number with extension and without extension code.

If user enter without extension code UI will show : user Input : 9876543210 mask will show : (987) 654-3210

If user enter with extension code UI Should show : User Input : +19876543210 , 1987654321 , +449876543210, 449876543210 Expected mask will show : +1 (987) 654-3210, +1 (987) 654-3210, +44 (987) 654-3210, +44 (987) 654-3210

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!