You could check each input using js:
<script>
window.addEventListener("load",function(){
 document.getElementById("someid").addEventListener("input",function(){
   this.value=this.value.split("/").slice(0,2).map((el,i)=>parseInt(el,10)&&i<2?el.slice(0,2+2*i):"").join("/");
  });
});
</script>
<input id="someid" />
This just enforces 23/1234. However you might make it more complex:
     var length=0;
     document.getElementById("someid").addEventListener("input",function(){
     if(length>(length=this.value.length)) return; //enable deleting
       var mapped=this.value.split("").map(function(char,i){
            switch(i){
                case 0:
                   return char=="1" || char=="0"?char:"";
                 break;
                 case 1:
                   return !isNan(parseInt(char,10))?(this[0]=="0"?char:(+char<3?char:"")):"";
                 break;
                 case 2:
                   return "/";
                 break;
                 case 3:
                 case 4:
                 case 5:
                 case 6:
                   return !isNan(parseInt(char,10))?char:"";
                 break;
                 default:
                   return "";
                 break;
            }
    },this.value);
  if(mapped.length===2) mapped.push("/");
  this.value=mapped.join("");
});
It replaces every character with 0 if it does not fullfill special requirenments for the character at that position. It also adds a / after the second char automatically, however this can lead to problems while editing, thats why i recommend to enable the enable deleting above...
http://jsbin.com/razupobamu/edit?output