If you want to collect a phone number you can best use the phone field. This automatically validates common phone formats and forces numeric inputs.
Documentation
Phone field
In this article
How to add a phone field
To add new phone field, head over to WCB > Inputs and add new input.
Next, select type “phone” and configure the settings.