How do I disable specific country codes on phone input fields?
Here's how to restrict some country codes in your phone inputs.
Log into OpnForm and enter your form's editor:
Click on any of these gear icons for your desired field. That will open the field settings (right-side panel).
Find the "Disabled countries" section and select the countries you want to disable.
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.
Log into OpnForm and enter your form's editor:
Click on any of these gear icons for your desired field. That will open the field settings (right-side panel).
Find the "Disabled countries" section and select the countries you want to disable.
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.
Updated on: 30/10/2024
Thank you!