# 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: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
