Phone field
Description
A phone field is used to get a phone number from the user. The field supports international phone numbers and can be customized to match the user’s input format. The phone number is stored in E.164 format.
Styling
Multi-column layout: Use the layout setting under the General tab to display the field in a multi-column layout.
Hide label: Check the Hide label from view setting under the General tab to hide the label from view.
Validation
This field automatically validates international phone numbers (including fixed line numbers). It offers country code selection and input masking to ensure the user enters a valid phone number. The country code defaults to the user’s location.
This field cannot validate numbers like:
Emergency numbers (like 911, 112, etc.)
Alphabetic numbers like: 1-800-FLOWERS
Short codes like: 12345
Under the hood this field uses a port of Google’s libphonenumber
library to validate phone numbers.