# Phone Number Validation

The admin can validate the mobile number based on the country.

<figure><img src="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2FaRf62iWlhPsc6o5kHw5T%2Fimage.png?alt=media&#x26;token=9d3ac316-bb11-4243-bb12-9932c7ac8179" alt=""><figcaption></figcaption></figure>

* **Show or Hide Country Flag in Mobile Number Field:** Enable phone number validation from here.
* **Country Digits:** Set phone number digits for various countries.

Once the admin sets the phone number validation from the backend, it will be activated in the front end.

**Phone number validation on the frontend shipping page**

<figure><img src="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2FTbmeFYufcZGrwqlH9OEe%2FSS%204%20Phone%20number%20validation%20on%20shipping%20page.png?alt=media&#x26;token=45aff3c4-9b23-49c2-b13d-19520257453f" alt=""><figcaption></figcaption></figure>

**Phone number validation on the frontend billing page**

<figure><img src="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2FVR3FbK4uSS5NBbwAdNM9%2FSS%205%20Phone%20number%20validation%20ob%20billing%20page.png?alt=media&#x26;token=5ff70d76-5094-4ecd-9f15-e3915cb6a706" alt=""><figcaption></figcaption></figure>
