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

252
Views
How to validate input SSN validation field

Field should be formatted for SSN.

  • 9 numerical digits only + 2 dashes (XXX-XX-XXXX)

      <div class="col-md-6" data-number="0" id="amdCorrSSNcont">
          <label for="correctSSN">Correct SSN</label>
          <input type="text" placeholder="XXX-XX-XXXX"  class="form-control" id="correctSSN">
      </div>
    

How can I format the field ?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Using RegEx is probably the best way. Make sure field max-length is correct, and use the pattern match for ###-##-####

^([0-9]{3}[-]{1}[0-9]{2}[-]{1}[0-9]{4})

A useful tool for creating Regex Patterns is https://regexr.com/

about 4 years ago · Juan Pablo Isaza Report
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!