> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.opnform.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 do I disable specific country codes on phone input fields?

Here's how to restrict some country codes in your phone inputs.  
  
1. Log into OpnForm and enter your form's editor:


![](https://storage.crisp.chat/users/helpdesk/website/-/1/b/5/b/1b5b982fc3df6500/chromeawtp751ic5_fadcqi.png)

2.   Click on any of the gear icon of the phone input field. That will open the field settings (right-side panel).
  


![](https://storage.crisp.chat/users/helpdesk/website/1b5b982fc3df6500/chromeksj5bk4abv_19skue7.png)
  
3. Find the "Disabled countries" section and select the countries you want to disable.
  
![](https://storage.crisp.chat/users/helpdesk/website/1b5b982fc3df6500/image_114in5e.png)
  
These countries will not be retrievable on the phone input field when users fill out your form.  
  
You have the options to select/deselect them all to help you work faster if you want to limit your results to a few countries only, for example.  
  
*   Once you are done, save your changes.
  