How to mask an input field for mobile number

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

LET ME KNOW IF ANYONE KNOWS ?

1 Like

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?

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

This also accomplished successfully

You may get more information through this link

1 Like

Cool, thanks for the link

always welcome @adam

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

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