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

100
Views
Range comparison for alphanumeric

enter image description hereThere is a Branch DDL(list ATL1,ATL2) and 2 user input textboxes starteLetterGroupFrom and EndLetterGroupThru.

If the branch selected is 'ATL1' then the above 2 textboxes should have values only between of 000000 - JZZZZZ. For 'ATL2' it should have values between K00000 - ZZZZZZ.

Ex: if user tries to select ATL2 and enters AAAAAA-BZZZZZ in textboxes then it should not allow. similarly,ATL1 cannot be assigned to SAAAAA-ZZZZZZ

    var branch = document.getElementById("selectBranch");
    var branchText = branch.options[branch.selectedIndex].text
    var startltr = $('#inputStartLetter').val().toUpperCase()
    var endltr = $('#inputEndLetter').val().toUpperCase();
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!