3 ms·
> For older browsers there is another trick to trigger the numeric keyboard and include a bit of extra validation for free. A simpler one that the pattern attr
by hk__2 7y ago
> For older browsers there is another trick to trigger the numeric keyboard and include a bit of extra validation for free.
A simpler one that the pattern attribute, but more hacky-er, is using input type="tel", which I’ve also seen used for credit card number inputs.