Numbers and Phone Validation Add-on comes in handy when you want an Input Field, displayed inside a Registration or an Edit Profile form, to be made up of numbers only like a Zip Codes, Phone Number or a Custom ID.
Install Numbers and Phone Validation Add-on
First of all, click on the button below to download the add-on. Once downloaded, you can install the add-on as a normal WordPress plugin, by uploading the .zip file in your WordPress Admin -> Plugins -> Add New -> Upload Plugin.
Alternatively, you can install the Numbers and Phone Validation Add-On by extracting the folder found inside the archive and uploading the entire folder via FTP to your /wp-content/plugins folder found inside your WordPress install.
Note – For Numbers and Phone Validation Add-On to work as expected, you’ll also need to have the following plugin installed and activated on your site:
- Profile Builder Hobbyist or Pro – version 2.0.5 or higher
Enable Numbers Only for an Input Field
Once the add-on has been activated head over to the Manage Fields page in Profile Builder. If you select an Input Field you will see that a new property named Numbers Only appeared below the other properties.
Enable Phone Format for a Custom Input
Below the Numbers Only option you have the Phone Format option. Checking this option will make the Input Field to support only the Phone Format.