There are no pre-requisites in order for you to be able to implement this solution.
Simply copy the pre-coded solution to your active theme’s functions.php or preferably the Code Snippets Plugin.
Need support with the snippet? We’re Here to Help You, Contact Us!
This snippet adds jQuery (run form the footer for performance reasons) which only allows number input in the billing phone field on the checkout. Specifically, it will find and delete anything which is not a number. This means the user will be unable to add any special characters, spaces, or letters in the billing phone field. This acts as an input mask rather than a validation method – the user simply will not be able to enter anything but numbers in the field.
Join forces with UnlimitedWP for an outsourced white label web development service you can truly rely on.