> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://ajuda.greatsoftwares.com.br/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 add the COUNTRY CODE TO THE PHONE FIELD in GreatPages

To add the **country code (DDI)** to a **"Telefone"** field of a form, follow the tutorial below:

1. Access the **GreatPages** page editor;

2. Inside the editor, click to **"Edit"** your form;

![Configure form](https://storage.crisp.chat/users/helpdesk/website/-/a/6/a/b/a6ab90d8350d6000/image_1g915oh.png =650x619)

3. When you do this, a screen will open on the side with the "**Settings"** option and you will need to click on **"Add field"**;

|| If there is already a "Telefone" field created, click on the pencil icon next to the field name to edit it.

![Add field or Edit field](https://storage.crisp.chat/users/helpdesk/website/-/a/6/a/b/a6ab90d8350d6000/image_vld212.png =650x1267)

4. Next, a box will open with the **field configuration options**. You will need to configure it as follows:

**Field type:** Short text
**Field size: 1**00%
**Field title:** Phone (optional)
**Required:** Yes (optional)
**Validate field as:** International phone
**Description text:** (optional field description)

![Validate the Phone field as "International phone"](https://storage.crisp.chat/users/helpdesk/website/-/a/6/a/b/a6ab90d8350d6000/image_1ahgf55.png =650x400)

5. When you finish editing, click on **"Add"**;

6. To check whether the configuration turned out the way you wanted, click on **"Preview"** to see how your form looks with the country code in the Phone field.

![Preview](https://storage.crisp.chat/users/helpdesk/website/-/a/6/a/b/a6ab90d8350d6000/image_tbizam.png =650x292)

![Form "Telefone" field with country code selection option](https://storage.crisp.chat/users/helpdesk/website/-/a/6/a/b/a6ab90d8350d6000/image_1xb6w4c.png =650x437)

Still have questions? Reach out to our support team! We're always available to help. :-)  