Phone Field
Collect phone numbers with optional country-specific formatting and validation.
Configuration
| Setting | Default | Description |
|---|
| Label | — | The question text |
| Required | false | Whether a phone number is mandatory |
| Phone Validation | On | Enable format validation |
| Country-Specific | Off | Restrict to a specific country format |
| Validation Country | US | Country code for validation format |
Validation
When phone validation is enabled, the input is checked against the selected country’s phone number format. Invalid numbers show a validation error.
{ "field_name": "+1 (555) 123-4567" }
Phone numbers are stored as entered by the user. If you need a standardized format for Klaviyo, consider using the E.164 format validation.