# Phone number

> A phone number with a country selector, stored in one international format however it was typed.

Ask for a phone number and get it back in a consistent, dialable format, whether the respondent typed `07700 900123`, `+44 7700 900123` or `0044 7700 900123`.

## Settings

| Setting             | What it does                                                                                                  |
| ------------------- | ------------------------------------------------------------------------------------------------------------- |
| **Placeholder**     | Grey text in the empty number field.                                                                          |
| **Default country** | Where the country selector starts. Respondents can pick another, or paste a number with its own country code. |

## What respondents see

A country selector showing the dialling code, beside a field for the number. The number field brings up the phone keypad on phones.

- If they type a number starting with `+` or `00`, that country code wins over the selector.
- A leading `0` (the "trunk" zero many countries use for local calls) is dropped, except for Italy, where it's part of the number.
- If what they type can't be a phone number, they see a message and can't continue until it's fixed.

## The answer

Stored in international (E.164) format: a `+`, the country code, then the number, with no spaces, such as `+447700900123`. That's the format phone systems, SMS tools and CRMs expect.

- **CSV, emails and webhooks**: `+447700900123`.
- **Encryption**: always [encrypted](https://formhelix.com/docs/encryption) when the form is, and never sent to an AI model.

When a respondent comes back to the question, the selector shows the right country again, even for codes several countries share (such as `+1`), preferring the question's default country.

## In logic

**is**, **is not**, **contains**, **doesn't contain**, **is answered**, **is not answered**. Comparisons use the stored format, so to branch on country, use "contains" with the country code, such as `+44`.
