How can I create the number input in which user will be able to type only numbers which consist of five digits? I tried this but user still can type as many digits as he/she wan
/* Pattern 0-9 = Only number. 1, = Minimum length, 5 = Maximum Length */ /*required="required" attribute also needed*/
Best way if you use JavaScript form validation. Thanks.
JavaScript