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

77
Views
IE11 minlength or pattern not validating + bootstrap

is there a way to validate minlength on my field in IE11? seems like is being ignored, I am using bootstrap 4.5 to validate my form also.

<input class="form-control" id="portVal" required="" type="text" pattern="[0-9]*" data-dpmaxz-eid="5" minlength="6">

However, seems like email pattern is validating email correctly, how can I update [0-9]* to configure a minimum number?

<input class="form-control" id="sEmail" required="" type="text" pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}$" data-dpmaxz-eid="4" data-nl-label="Email" data-nl-bindto="xpath" data-nl-ismandatory="true" data-nl-xpath="@email">

enter image description here

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

0

IE doesn't support the minlength attribute. You'll have to use the regex .{6,}, which matches 6 or more characters:

<form>
<input class="form-control" id="portVal" type="text" pattern=".{6,}" data-dpmaxz-eid="5" required>
<button>Submit</button>
</form>

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!