How to mask an input field for mobile number


#1

HOW TO MASK AN INPUT FIELD FOR MOBILE NUMBER? @max @adam

LET ME KNOW IF ANYONE KNOWS ?


#2

This isn’t something that’s apart of our core JS, but that’s not to say it shouldn’t be. In the meantime, do you have any good examples that would accomplish what you’re looking for?


#3

wanted to accomplish without validation which allows only mobile number. If user enter then only it should format the input field value


#4

This also accomplished successfully

You may get more information through this link


#5

Cool, thanks for the link


#6

always welcome @adam


#7

Hi, codepen link isn’t working anymore. Does anyone have a solution. My actual mask isn’t working on all android devices.


#8

I have used jquery.maskedinput.js for android and ios but it is not working with Windows phone.