I am looking for a solution similar to THIS post to use with a mobile device. The idea is to have the form pull up the number pad on a mobile device, allowing the user to enter their phone number, then mask the input in the following format (###) ### - ####
To get the number pad to appear, the NUMBER input type is what needs to be used, but if I use that, the javascript to mask the input does not work. This applies to other fields (credit card, ssn, etc.)
Any help is much appreciated.
Thanks,
Nate