Does HTML5 have any kind of text field masking or do I still have to trap onkeydown etc.?
onkeydown
jbabey is right--\"masking\" as in blocking certain illegal ch
A little late, but a useful plugin that will actually use a mask to give a bit more restriction on user input.
Phone Number * (999) 999-9999
More info on the plugin https://www.jasny.net/bootstrap/2.3.1/javascript.html#inputmask