3 ms·
Cool. You should consider using input type="tel" for capturing phone numbers - https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/tel https://devel
by edent 9y ago
Cool. You should consider using input type="tel" for capturing phone numbers - https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/tel https://developer.mozilla.org/en-US/docs/Web/HTML/Element/in...
On a mobile device, it will automatically pop up the number-pad. Makes life a little easier for people filling in the form.
Similarly, input type="email" will pop up a keyboard with an @ symbol. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/email https://developer.mozilla.org/en-US/docs/Web/HTML/Element/in...
- GroSacASacs 9y agovery good, and also may provide smarter autofill