open_in_new
content_copy
<input type="number" onKeyPress="if(this.value.length==6) return false;"/>