> For the complete documentation index, see [llms.txt](https://docs.limio.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.limio.com/product/settings/how-to-set-up-localisation/how-to-configure-phone-number-validation.md).

# Configure Phone Number Validation

This functionality will be included with Release 72.0 and beyond.

It is possible to set validation rules for phone number inputs in both the legacy Single Page Checkout and [Customer Table](https://docs.limio.com/components/component-library/standard-components/component-customer-table) components.

To set validation on the newer Modular Checkout, go to [https://docs.limio.com/components/component-library/modular-checkout-components/modular-checkout-subcomponents-in-form/form-subcomponent-field](https://docs.limio.com/components/component-library/modular-checkout-components/modular-checkout-subcomponents-in-form/form-subcomponent-field "mention").

**Steps to set the phone number validation:**

1: Click on the profile icon in the top-right corner of the app.

2: Click on the **Developer** option in the dropdown.

3: Click **General Settings**, then **Localisation** and type the regex code you wish to use in the **Regex for phone number validation** input.

Note: regular expressions (regex) are patterns used to match character combinations in strings. They must be entered here **without** being enclosed between slashes.

4: Don't forget to save the changes by clicking the **Save** button in the top-right of the page.

The phone number input on the Single Page Checkout and Customer Table must match the regular expression (regex) specified here in order to pass the validation that allows the forms to submit.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.limio.com/product/settings/how-to-set-up-localisation/how-to-configure-phone-number-validation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
