How to make a <input type="number">
with mask in hours format, which accepts 00:00 .
If you put type="text"
just use a mask, but with type="number"
?
How to make a <input type="number">
with mask in hours format, which accepts 00:00 .
If you put type="text"
just use a mask, but with type="number"
?
This mask feature is not native input field. For this you will need JavaScript. JQuery for example has many plugins for mask that you can see clicking here .
In particular, I recommend that you try using the jquery input mask
Project link: link
On this page, the author makes available various forms of mask that you can use including mask of dates, numerical, monetary and several other available formats.