{"id":160002,"date":"2022-07-14T05:31:36","date_gmt":"2022-07-14T05:31:36","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/country-dropdown-for-contact-form-7\/"},"modified":"2026-06-29T09:37:22","modified_gmt":"2026-06-29T09:37:22","slug":"country-dropdown-for-contact-form-7","status":"publish","type":"plugin","link":"https:\/\/test.wordpress.org\/plugins\/country-dropdown-for-contact-form-7\/","author":20419894,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0","stable_tag":"trunk","tested":"7.0","requires":"5.5","requires_php":"7.0","requires_plugins":null,"header_name":"Country Dropdown For Contact Form 7","header_author":"","header_description":"This plugin allows quickly search and select a country from a responsive, mobile-friendly flag dropdown.","assets_banners_color":"fbf2ef","last_updated":"2026-06-29 09:37:22","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":800,"downloads":5471,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.0":"<p>Initial release. Install today to start collecting clean, standardized country data through Contact Form 7 with a searchable, flag-enhanced country dropdown.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3475251,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3475251,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3475251,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3475251,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":2838830,"resolution":"2","location":"assets","locale":"","width":1509,"height":800},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2838830,"resolution":"3","location":"assets","locale":"","width":1167,"height":849},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2838830,"resolution":"4","location":"assets","locale":"","width":1124,"height":855}},"screenshots":{"1":"Contact Form 7 form editor with the country_select button highlighted in the toolbar.","2":"CF7 form editor showing the fully generated country select tag inserted into the form template.","3":"Form-tag Generator popup displaying all configurable options: required field, name, custom ID, custom class, default country, only countries, and preferred countries.","4":"Country dropdown field on the live front-end form with the list open, showing country flags alongside country names (United States, Canada, United Kingdom, etc)."}},"plugin_section":[],"plugin_tags":[269397,1152,160071,269398,269396],"plugin_category":[],"plugin_contributors":[256981],"plugin_business_model":[],"class_list":["post-160002","plugin","type-plugin","status-publish","hentry","plugin_tags-cf7-addon","plugin_tags-contact-form-7","plugin_tags-country-dropdown","plugin_tags-country-list","plugin_tags-country-selector","plugin_contributors-howdytheme","plugin_committers-howdytheme"],"banners":{"banner":"https:\/\/ps.w.org\/country-dropdown-for-contact-form-7\/assets\/banner-772x250.png?rev=3475251","banner_2x":"https:\/\/ps.w.org\/country-dropdown-for-contact-form-7\/assets\/banner-1544x500.png?rev=3475251","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/country-dropdown-for-contact-form-7\/assets\/icon-128x128.png?rev=3475251","icon_2x":"https:\/\/ps.w.org\/country-dropdown-for-contact-form-7\/assets\/icon-256x256.png?rev=3475251","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/country-dropdown-for-contact-form-7\/assets\/screenshot-2.png?rev=2838830","caption":"CF7 form editor showing the fully generated country select tag inserted into the form template."},{"src":"https:\/\/ps.w.org\/country-dropdown-for-contact-form-7\/assets\/screenshot-3.png?rev=2838830","caption":"Form-tag Generator popup displaying all configurable options: required field, name, custom ID, custom class, default country, only countries, and preferred countries."},{"src":"https:\/\/ps.w.org\/country-dropdown-for-contact-form-7\/assets\/screenshot-4.png?rev=2838830","caption":"Country dropdown field on the live front-end form with the list open, showing country flags alongside country names (United States, Canada, United Kingdom, etc)."}],"raw_content":"<!--section=description-->\n<p><strong>Country Dropdown For Contact Form 7<\/strong> is a free WordPress plugin that adds a fully functional, flag-enhanced country selector field to any Contact Form 7 form. Instead of asking users to type their country manually \u2014 or using a plain unstyled select box \u2014 this addon gives you a polished, searchable dropdown complete with national flag icons for every country in the world.<\/p>\n\n<p>Whether you run an international business, a global e-commerce store, a travel booking site, or any website that needs to collect country information from visitors, this plugin delivers a professional, frictionless experience right out of the box.<\/p>\n\n<blockquote>\n  <p><strong>Requires Contact Form 7<\/strong> to be installed and activated on your WordPress site.<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/topsmodule.com\/how-to-create-country-dropdown-for-contact-form-7\/\">\ud83d\udcc4 Documentation<\/a> | <a href=\"https:\/\/topsmodule.com\/task\/country-select-for-contact-form-7\/\">\ud83d\udd34 Live Demo<\/a> | <a href=\"https:\/\/topsmodule.com\/product\/country-dropdown-for-contact-form-7\/\">\u2b50 Upgrade to Pro<\/a><\/p>\n\n\n\n<h4>Why Use Country Dropdown For Contact Form 7?<\/h4>\n\n<p>A plain text input for \"Country\" leads to messy, inconsistent data \u2014 one visitor types \"US\", another writes \"United States\", and another enters \"America\". That makes filtering, exporting, and acting on form data a headache.<\/p>\n\n<p>This plugin solves that problem entirely. It provides a standardized, searchable dropdown with every country in the world, each displayed alongside its recognizable national flag. Users find and select their country quickly, and you receive clean, consistent data every time.<\/p>\n\n<p>Setup takes under a minute and works exactly like any native Contact Form 7 field \u2014 no coding, no custom CSS, no configuration beyond the built-in tag generator.<\/p>\n\n\n\n<h4>Free Features<\/h4>\n\n<ul>\n<li>\u2705 <strong>Complete World Country List<\/strong> \u2014 All countries are pre-loaded and ready to use. No manual data entry or custom lists required.<\/li>\n<li>\u2705 <strong>Country Flag Icons<\/strong> \u2014 Every country in the dropdown is displayed with its national flag for fast, visual identification.<\/li>\n<li>\u2705 <strong>Searchable Dropdown<\/strong> \u2014 Users can type any part of a country name to instantly filter the list, making selection fast even on long lists.<\/li>\n<li>\u2705 <strong>Keyboard Navigation<\/strong> \u2014 Full support for up\/down arrow keys lets users navigate the entire dropdown without touching their mouse.<\/li>\n<li>\u2705 <strong>Default Country Setting<\/strong> \u2014 Pre-select a default country directly from the tag generator to streamline the experience for your primary audience.<\/li>\n<li>\u2705 <strong>Custom ID &amp; Class Support<\/strong> \u2014 Add optional HTML ID and class attributes to the field for custom CSS styling or JavaScript targeting.<\/li>\n<li>\u2705 <strong>Required Field Support<\/strong> \u2014 Mark the country field as required just like any other Contact Form 7 field to enforce completion before submission.<\/li>\n<li>\u2705 <strong>Mobile Responsive<\/strong> \u2014 Fully responsive design that looks great and works smoothly on all screen sizes, including smartphones and tablets.<\/li>\n<li>\u2705 <strong>Seamless CF7 Integration<\/strong> \u2014 Registers as a native Contact Form 7 form tag. Insert it from the CF7 tag generator in seconds \u2014 no shortcodes or manual HTML needed.<\/li>\n<li>\u2705 <strong>Accessible Markup<\/strong> \u2014 Outputs proper ARIA attributes (<code>aria-required<\/code>, <code>aria-invalid<\/code>, <code>aria-describedby<\/code>) for screen reader and accessibility compliance.<\/li>\n<\/ul>\n\n\n\n<h4>Pro Version Features<\/h4>\n\n<p>Unlock advanced country filtering and display controls with the <strong>Pro Version<\/strong>:<\/p>\n\n<ul>\n<li>\u2b50 <strong>Only Countries (Whitelist)<\/strong> \u2014 Restrict the dropdown to display only a specific set of countries. Ideal for region-locked services, country-specific compliance, or simplified forms targeting a known audience. Configure using country codes (e.g. <code>us-ca-gb<\/code>).<\/li>\n<li>\u2b50 <strong>Preferred Countries (Pin to Top)<\/strong> \u2014 Choose countries that appear pinned at the top of the dropdown list for quicker access. Perfect when you know your audience is concentrated in a few key regions (e.g. <code>us-gb-au<\/code>).<\/li>\n<li>\u2b50 <strong>Exclude Countries (Blacklist)<\/strong> \u2014 Hide specific countries from the dropdown entirely. Useful for legal restrictions, shipping limitations, or regional exclusions (e.g. <code>br-cx-eg<\/code>).<\/li>\n<\/ul>\n\n<p><a href=\"https:\/\/topsmodule.com\/product\/country-dropdown-for-contact-form-7\/\">\ud83d\udc49 Get the Pro Version \u2192<\/a><\/p>\n\n\n\n<h4>Perfect For<\/h4>\n\n<ul>\n<li>International contact and business inquiry forms<\/li>\n<li>Global e-commerce order, checkout, and shipping forms<\/li>\n<li>Travel booking and destination preference forms<\/li>\n<li>Event registration forms collecting attendee location data<\/li>\n<li>Lead generation forms targeting visitors across multiple countries<\/li>\n<li>Survey and research forms requiring geographic information<\/li>\n<li>Billing and subscription forms with country-based pricing<\/li>\n<\/ul>\n\n\n\n<h4>How It Works<\/h4>\n\n<ol>\n<li>Install and activate the plugin (Contact Form 7 must already be active).<\/li>\n<li>Open any Contact Form 7 form in your WordPress dashboard.<\/li>\n<li>Click <strong>Add Form Tag<\/strong> and select <strong>Country Dropdown<\/strong> from the tag list.<\/li>\n<li>Configure the field name, ID, class, and default country using the tag generator panel.<\/li>\n<li>Click <strong>Insert Tag<\/strong> to add the tag to your form, then click <strong>Save<\/strong>.<\/li>\n<li>The country dropdown with flags and search instantly appears on your form's front end.<\/li>\n<\/ol>\n\n<p>No shortcodes. No manual HTML. No additional configuration needed.<\/p>\n\n<!--section=installation-->\n<h4>Automatic Installation (Recommended)<\/h4>\n\n<ol>\n<li>Make sure <strong>Contact Form 7<\/strong> is installed and activated on your WordPress site.<\/li>\n<li>Go to <strong>Plugins &gt; Add New<\/strong> in your WordPress admin dashboard.<\/li>\n<li>Search for <strong>\"Country Dropdown For Contact Form 7\"<\/strong> and click <strong>Install Now<\/strong>.<\/li>\n<li>Click <strong>Activate<\/strong> once the installation is complete.<\/li>\n<li>Open any Contact Form 7 form and use the <strong>Add Form Tag<\/strong> button to add the country dropdown field.<\/li>\n<\/ol>\n\n<h4>Manual Installation<\/h4>\n\n<ol>\n<li>Download the plugin ZIP file from the WordPress plugin directory.<\/li>\n<li>Go to <strong>Plugins &gt; Add New &gt; Upload Plugin<\/strong> in your WordPress dashboard.<\/li>\n<li>Choose the downloaded ZIP file and click <strong>Install Now<\/strong>.<\/li>\n<li>Activate the plugin after installation completes.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20plugin%20require%20contact%20form%207%3F\"><h3>Does this plugin require Contact Form 7?<\/h3><\/dt>\n<dd><p>Yes. Contact Form 7 must be installed and activated on your site for this plugin to function. The country dropdown registers itself as a native CF7 form tag type.<\/p><\/dd>\n<dt id=\"does%20the%20free%20version%20include%20all%20countries%20in%20the%20world%3F\"><h3>Does the free version include all countries in the world?<\/h3><\/dt>\n<dd><p>Yes. The plugin ships with a complete, pre-loaded list of every country in the world. No manual entry or third-party data source is needed.<\/p><\/dd>\n<dt id=\"are%20country%20flag%20icons%20available%20in%20the%20free%20version%3F\"><h3>Are country flag icons available in the free version?<\/h3><\/dt>\n<dd><p>Yes! Flag icons for all countries are included in the free version at no cost.<\/p><\/dd>\n<dt id=\"can%20users%20search%20for%20their%20country%20by%20typing%3F\"><h3>Can users search for their country by typing?<\/h3><\/dt>\n<dd><p>Yes. The dropdown is fully searchable \u2014 users can begin typing any part of a country name to filter the list in real time. Keyboard navigation using the up and down arrow keys is also fully supported.<\/p><\/dd>\n<dt id=\"can%20i%20pre-select%20a%20default%20country%3F\"><h3>Can I pre-select a default country?<\/h3><\/dt>\n<dd><p>Yes. You can set a default country directly from the Contact Form 7 tag generator settings panel, without writing any code.<\/p><\/dd>\n<dt id=\"can%20i%20limit%20the%20dropdown%20to%20show%20only%20certain%20countries%3F\"><h3>Can I limit the dropdown to show only certain countries?<\/h3><\/dt>\n<dd><p>Restricting the dropdown to a specific list of countries (whitelist), pinning preferred countries to the top, and hiding specific countries (blacklist) are <strong>Pro version features<\/strong>. <a href=\"https:\/\/topsmodule.com\/product\/country-dropdown-for-contact-form-7\/\">Upgrade here \u2192<\/a><\/p><\/dd>\n<dt id=\"is%20the%20country%20dropdown%20accessible%20%2F%20screen%20reader%20friendly%3F\"><h3>Is the country dropdown accessible \/ screen reader friendly?<\/h3><\/dt>\n<dd><p>Yes. The plugin outputs proper ARIA attributes including <code>aria-required<\/code>, <code>aria-invalid<\/code>, and <code>aria-describedby<\/code> to support screen readers and comply with web accessibility standards.<\/p><\/dd>\n<dt id=\"is%20the%20dropdown%20mobile-friendly%3F\"><h3>Is the dropdown mobile-friendly?<\/h3><\/dt>\n<dd><p>Yes. The country dropdown is fully responsive and works on all devices including desktops, laptops, tablets, and smartphones.<\/p><\/dd>\n<dt id=\"can%20i%20add%20a%20custom%20css%20class%20or%20id%20to%20the%20field%3F\"><h3>Can I add a custom CSS class or ID to the field?<\/h3><\/dt>\n<dd><p>Yes. The tag generator includes fields for a custom HTML ID and CSS class, which you can use to style or target the field with your own CSS or JavaScript.<\/p><\/dd>\n<dt id=\"can%20i%20mark%20the%20country%20field%20as%20required%3F\"><h3>Can I mark the country field as required?<\/h3><\/dt>\n<dd><p>Yes. The tag generator includes a \"Required field\" checkbox, just like all other Contact Form 7 field types. Validation and error messages work the same way as native CF7 fields.<\/p><\/dd>\n<dt id=\"where%20can%20i%20find%20documentation%20and%20setup%20guides%3F\"><h3>Where can I find documentation and setup guides?<\/h3><\/dt>\n<dd><p>Full documentation is available at <a href=\"https:\/\/topsmodule.com\/how-to-create-country-dropdown-for-contact-form-7\/\">topsmodule.com<\/a>. A live demo is also available to see the plugin in action before installing.<\/p><\/dd>\n<dt id=\"where%20can%20i%20report%20a%20bug%20or%20request%20a%20feature%3F\"><h3>Where can I report a bug or request a feature?<\/h3><\/dt>\n<dd><p>Please use the plugin's support forum on WordPress.org to report bugs or suggest new features.<\/p>\n\n<\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release \u2014 adds a searchable, flag-enhanced country dropdown field type to Contact Form 7 with support for default country, custom ID\/class, required validation, keyboard navigation, and full mobile responsiveness.<\/li>\n<\/ul>","raw_excerpt":"Add a searchable country dropdown with flag icons to any Contact Form 7 form. Set a default country, enable keyboard navigation, and collect clean, co &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/160002","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=160002"}],"author":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/howdytheme"}],"wp:attachment":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=160002"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=160002"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=160002"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=160002"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=160002"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=160002"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}