> For the complete documentation index, see [llms.txt](https://docs.magecomp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.magecomp.com/magento-2-cash-on-delivery-verification-extension/phone-number-validation.md).

# Phone Number Validation

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

<figure><img src="/files/nd62ZvsQIJ4C53A4kO3d" 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="/files/tGY07z6u0GntFY4Enosy" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/oyn0Ve9uG0FuHOxRvTb6" alt=""><figcaption></figcaption></figure>
