Skip to main content

What this does

The phone number field maps to Airtable’s Phone Number field type. It includes a country code selector, automatic country detection, and format validation against country-specific phone number patterns.

Settings reference

SettingDescription
Placeholder textHint text shown when the field is empty.
Default valuePhone number pre-filled when the form loads.
Default countryThe country code pre-selected in the country dropdown. Enter a 2-letter country code (e.g., US, GB, AU, CA, NG).
Show country selectorDisplay a country code dropdown before the phone input so respondents can select their country’s dial code.
Validate phone formatValidate that the number matches the expected format for the selected country. Shows an error with an example number if the format is wrong.
Auto-detect countryPre-select the respondent’s country based on their IP-derived location. Respondents can still change it manually.
Minimum charactersMinimum character count required.
Maximum charactersMaximum character count allowed.
Universal settings that also apply: Label, description, required, read-only, show/hide rules, conditional read-only, reject duplicates, custom validation rules.

How country detection works

When Auto-detect country is enabled, Filla uses the respondent’s IP address to determine their likely country and pre-selects the matching dial code in the country selector. The respondent can override this by selecting a different country from the dropdown.
Enable both Show country selector and Auto-detect country together for forms that accept international respondents. The right country code is pre-selected, but respondents from other countries can change it.

Format validation

When Validate phone format is enabled, Filla checks the entered number against the expected format for the selected country (powered by libphonenumber). If the format is wrong, the error message includes an example of a valid number for that country. Example: For the US, a valid format is (555) 555-5555. For the UK, 07700 900000. The validator checks these formats on blur (when the respondent leaves the field).

Common questions

Set the Default country and optionally hide the country selector by turning off Show country selector. With a fixed country selected and format validation on, only numbers in that country’s format will be accepted.
The number is stored as entered, including the country dial code if the country selector is shown. For example: +1 555-555-5555.
Yes. If format validation is enabled and the number doesn’t match the expected pattern, the respondent sees an error and cannot submit until the number is corrected or the country is changed.