> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.unicornplatform.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to set validation phone number input fields

**To set phone number validation:**

| Validation helps ensure that the user has entered the number in the correct format (e.g., including country code, area code, actual number, etc.) and identifies typos or incorrectly entered digits so that the user can correct them.

![](https://storage.crisp.chat/users/helpdesk/website/-/7/e/7/8/7e782a40c0560c00/chromeuoxmct5ihh_1po60qf.gif)


---


1. Hit "Edit component" button

2. Choose "Call to action form" section in "Content" tab

3. Click the button next to "Phone number" field

![](https://storage.crisp.chat/users/helpdesk/website/7e782a40c0560c00/image_4xju9j.png)

4. In the opened window add a mask in "Mask" field

![](https://storage.crisp.chat/users/helpdesk/website/7e782a40c0560c00/image_2qkve4.png)

 **Rules for mask:**

**0** - any digit
**a** - any letter
***** - any char
**{}** - fixed part
**[]** - optional

**Examples:**
+{49} 00 000 000
* 000 00 000 00 00
#000000
00-00-00


5. Save changes