A way to reject digits that are all the same? : I have an input which the user fill in and send it over. I would like to create a validation in javascript to prevent the user typing something like:

**1111111111** 

**2222222222**

**3333333333** etc

    <input type="text" class="form-control" id="inputID" placeholder="Company nummer" name="CompanyNumber" onchanged="checkInputDigits()" maxlength="13" pattern=".{13,}" required title="most be 13 digits"/>
     <script>
         function checkInputDigits()
            {
              //What to do?
            }
    </script>

 
