The structure
Design Better Input Fields
Andrew Coyle

No! Very bad practice!

Many international formats. Different formats.

Let the user input what number he has and deduce from all available information what he means.

Use location, maybe send a message to check if the number is correct.

Only force formatting on a user if you are certain he uses it himself.

Like what you read? Give David Lahusen a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.