How do I validate phone numbers in a Notion form?

Notion forms don't validate phone numbers. Mark the question required, flag bad rows with a formula, or use a form tool that checks the format.

Nookesh KarriNovember 16, 20266 min read
Light cover card with the title 'How do I validate phone numbers in a Notion form?' in dark text and a blue accent bar

You can’t validate phone numbers in a native Notion form today: Notion stores whatever text the respondent types. To get clean numbers, mark the question Required, add a formula property that flags rows that don’t match the international format, or collect answers with a form tool that checks the number before it reaches Notion.

Does a Notion form validate phone numbers?

A Notion form does not validate phone numbers. Notion’s property values reference says plainly that “the API does not enforce a phone-number format.” A phone value is just a string, and the documented example is written with spaces: +1 415 555 0123.

The forms help page agrees. Each question takes the type of its property, and you can mark a question Required so respondents “will have to answer the question to submit the form.” It sets no rule for what a phone answer should look like.

The only hard limit is size. The request limits page caps a phone number at 200 characters per request. So “call me after 6” fits, and so does “n/a”.

Format checks vs real number checks

Phone validation comes in three levels, and most forms only need the first two.

Level What it checks Where it runs Catches
Required The answer isn’t empty Native Notion form Skipped questions
Format The text looks like a phone number Form tool, or a Notion formula afterwards Letters, typos, missing country code
Verification The number exists and can be reached A lookup service or an SMS code Fake or dead numbers

A format check can’t prove a number is real. The E.164 glossary notes that a regular expression “can’t guarantee a match with a valid number.” Google’s list of phone number falsehoods adds that a number that connects today may be disconnected tomorrow, so don’t store “valid” as a permanent fact.

Which phone number format to ask for

Ask respondents for the international E.164 format, because it works across countries and sorts cleanly in a database. An E.164 number starts with +, uses digits only, and is limited to 15 digits in total. No country code starts with 0, so the first digit after the plus is never 0.

A US number in that format looks like +14155552671: country code 1, area code 415, then the local number. Put an example like that in the question’s description. People copy the shape they see.

Store the number as text, not a Number property. Leading zeros and the plus sign get lost when a phone number is treated as a number.

How to flag bad phone numbers inside Notion

You can catch badly formatted numbers after they arrive with a formula property. Notion’s formula reference says test() returns true if a value matches a regular expression and false otherwise.

  1. Open the database your form writes to.
  2. Add a property called Phone OK and set its type to Formula.
  3. Paste this formula, replacing Phone with your property name:
test(replaceAll(prop("Phone"), "[ ()-]", ""), "^\\+[1-9][0-9]{1,14}$")
  1. Add a filtered view where Phone OK is unchecked.

The formula strips spaces, brackets and dashes first, so +1 (415) 555-2671 passes. Then it checks for a plus sign, a non-zero first digit, and at most 15 digits.

Say a respondent types 415 555 2671. The formula returns false because there’s no country code, and the row shows up in your review view. You fix it by hand or email the person.

This check works on any Notion plan, unlike conditional logic, which the forms help page limits to Business and Enterprise plans.

How to validate phone numbers before submission

Checking the number before it’s submitted saves the cleanup. Native Notion forms can’t do that, so you need a form tool that writes to your database.

On the web, a phone field is usually an <input type="tel">. The tel input reference explains that the browser does not validate it to any format on its own, “because formats for telephone numbers vary so much around the world.” It does bring up a phone keypad on many mobile browsers.

Real checks come from extra rules:

  • Required makes an empty field invalid.
  • A pattern must match the entire value, per the pattern attribute reference. An empty field skips the pattern, so pair it with Required.
  • Google’s libphonenumber goes further. It parses, formats and validates international numbers, using length and prefix rules for each region.

Many form tools add a country picker on top and save the result in international format. nDBForms has a dedicated phone question type among its 17 question types, mapped to Notion’s Phone property, and respondents don’t need a Notion account to fill it in.

Common phone validation mistakes

Over-strict rules lose real respondents, and that’s worse than a messy row.

  • A fixed 10-digit length. It fits the US but rejects most other countries. Some valid German numbers even run past the 15-digit limit.
  • Digits only. Numbers like 1-800-Flowers use letters, and the plus sign is part of the international format.
  • A Number property. It drops the plus and any leading zero.
  • Trusting a format pass. A well-formed number can still be unassigned.

My take on phone validation for Notion forms

Store every number in E.164, check the format at the form, and keep the Notion formula as a safety net for older rows. Skip paid lookups and SMS codes unless you’ll call or text the person soon.

The limitation: every method here checks shape, not ownership. If a typo produces another well-formed number, nothing in this setup catches it. Only calling or texting the number confirms it.

Related reading: the limits of Notion forms, how form fields map to Notion properties, and how conditional logic works in Notion forms. If you’re collecting phone numbers for sales follow-up, the lead capture form guide covers the rest of the setup.

FAQ

Does Notion check the format of a phone number?

No. Notion’s API says it does not enforce a phone-number format, and the forms help page describes no format check. Any text up to 200 characters can land in a Phone property.

What format should I store phone numbers in?

Use the international E.164 format: a plus sign, the country code, then the number, with digits only, like +14155552671. It sorts cleanly, works across countries and is what most calling and SMS tools expect.

Can a regex prove a phone number is real?

No. A pattern only checks the shape of the text. A number can be well formed and still unassigned, and a number that works today can be disconnected tomorrow.

Can I make the phone question required in a Notion form?

Yes. Any Notion form question can be marked Required, so respondents can’t submit without answering it. Required only stops empty answers; it doesn’t check what was typed.

Sources