{"id":119255,"date":"2020-04-01T05:34:46","date_gmt":"2020-04-01T05:34:46","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/country-state-city-auto-dropdown\/"},"modified":"2026-07-27T07:58:21","modified_gmt":"2026-07-27T07:58:21","slug":"country-state-city-auto-dropdown","status":"publish","type":"plugin","link":"https:\/\/bg.wordpress.org\/plugins\/country-state-city-auto-dropdown\/","author":17874738,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.8.0","stable_tag":"2.8.0","tested":"6.8.6","requires":"4.8","requires_php":"5.6","requires_plugins":null,"header_name":"Country State City Dropdown CF7","header_author":"Trusty Plugins","header_description":"Add country, state and city auto drop down for CONTACT FORM 7. State will auto populate in SELECT field according to selected country and city will auto populate according to selected state.","assets_banners_color":"f9d6a3","last_updated":"2026-07-27 07:58:21","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/trustyplugins.com\/","header_plugin_uri":"","header_author_uri":"https:\/\/trustyplugins.com","rating":4.9,"author_block_rating":0,"active_installs":5000,"downloads":61963,"num_ratings":30,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"trustyplugins","date":"2020-04-02 12:01:51"},"2.0":{"tag":"2.0","author":"trustyplugins","date":"2020-05-03 16:37:21"},"2.1":{"tag":"2.1","author":"trustyplugins","date":"2020-07-13 04:57:29"},"2.2":{"tag":"2.2","author":"trustyplugins","date":"2020-08-21 04:56:39"},"2.3":{"tag":"2.3","author":"trustyplugins","date":"2020-11-20 08:10:21"},"2.4":{"tag":"2.4","author":"trustyplugins","date":"2020-12-24 10:29:17"},"2.5":{"tag":"2.5","author":"trustyplugins","date":"2021-07-21 04:04:16"},"2.6":{"tag":"2.6","author":"trustyplugins","date":"2022-01-24 07:45:34"},"2.7":{"tag":"2.7","author":"trustyplugins","date":"2022-06-30 12:21:43"},"2.7.1":{"tag":"2.7.1","author":"trustyplugins","date":"2024-04-10 07:21:16"},"2.7.2":{"tag":"2.7.2","author":"trustyplugins","date":"2024-04-11 06:50:33"},"2.7.3":{"tag":"2.7.3","author":"trustyplugins","date":"2024-06-03 08:55:35"},"2.7.4":{"tag":"2.7.4","author":"trustyplugins","date":"2025-05-23 06:12:02"},"2.7.5":{"tag":"2.7.5","author":"trustyplugins","date":"2025-06-30 07:31:18"},"2.7.6":{"tag":"2.7.6","author":"trustyplugins","date":"2025-06-30 12:15:49"},"2.8.0":{"tag":"2.8.0","author":"trustyplugins","date":"2026-07-27 07:58:21"}},"upgrade_notice":{"2.8.0":"<p>Safe upgrade for existing users: keeps your location data and form tags. Adds indexes, AJAX cache, loading states, custom placeholders, and a data health screen under Settings.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":2,"5":28},"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":2272656,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":2273937,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":2273937,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","2.0","2.1","2.2","2.3","2.4","2.5","2.6","2.7","2.7.1","2.7.2","2.7.3","2.7.4","2.7.5","2.7.6","2.8.0"],"block_files":[],"assets_screenshots":{"screenshot-1.gif":{"filename":"screenshot-1.gif","revision":2272642,"resolution":"1","location":"assets","locale":"","width":685,"height":603},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":2272642,"resolution":"2","location":"assets","locale":"","width":1287,"height":834},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":2272642,"resolution":"3","location":"assets","locale":"","width":1308,"height":822}},"screenshots":{"1":"screenshot-1.png","2":"screenshot-2.png","3":"screenshot-3.png"}},"plugin_section":[],"plugin_tags":[35402,1152,160071,601,14824],"plugin_category":[42],"plugin_contributors":[189889],"plugin_business_model":[],"class_list":["post-119255","plugin","type-plugin","status-publish","hentry","plugin_tags-cities","plugin_tags-contact-form-7","plugin_tags-country-dropdown","plugin_tags-forms","plugin_tags-states","plugin_category-contact-forms","plugin_contributors-trustyplugins","plugin_committers-trustyplugins"],"banners":{"banner":"https:\/\/ps.w.org\/country-state-city-auto-dropdown\/assets\/banner-772x250.jpg?rev=2273937","banner_2x":"https:\/\/ps.w.org\/country-state-city-auto-dropdown\/assets\/banner-1544x500.jpg?rev=2273937","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/country-state-city-auto-dropdown\/assets\/icon-256x256.png?rev=2272656","icon_2x":"https:\/\/ps.w.org\/country-state-city-auto-dropdown\/assets\/icon-256x256.png?rev=2272656","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/country-state-city-auto-dropdown\/assets\/screenshot-1.gif?rev=2272642","caption":"screenshot-1.png"},{"src":"https:\/\/ps.w.org\/country-state-city-auto-dropdown\/assets\/screenshot-2.jpg?rev=2272642","caption":"screenshot-2.png"},{"src":"https:\/\/ps.w.org\/country-state-city-auto-dropdown\/assets\/screenshot-3.jpg?rev=2272642","caption":"screenshot-3.png"}],"raw_content":"<!--section=description-->\n<p>Country dropdown for contact form 7 with dynamic states and cities. Country State City Dropdown CF7 plugin is an add-on of Contact Form 7 plugin to show country, state and city dropdown. This plugin add three new form tag fields that is  (form-tag: country drop-down) and (form-tag: state dropdown) and (form-tag: city dropdown) in Contact form 7.<\/p>\n\n<p><a href=\"https:\/\/trustyplugins.com\">Buy PRO<\/a>  &nbsp; &nbsp;<a href=\"https:\/\/trustyplugins.com\">See Live Demo(PRO)<\/a><\/p>\n\n<h3>Country State City dynamic dropdown PRO supports to any form.<\/h3>\n\n<p><a href=\"https:\/\/trustyplugins.com\">Buy PRO<\/a><\/p>\n\n<h4>Features Of PRO Plugin<\/h4>\n\n<blockquote>\n<p>1. Supports to any type of Form (WP Forms, Ninja, Divi Contact Module, Elementor Module, Custom PHP Form etc).<\/p>\n<p>2. Select Default Country with User's IP.<\/p>\n<p>3. Select Default Specific Country from list of All Countries.<\/p>\n<p>4. Select Specific one or more Countries to display in the dropdown.<\/p>\n<p>5. If State\/City is missing then shows input text field to enter manually.<\/p>\n<p>6. Have feature to add missing states\/cities manually.<\/p>\n<p>7. Multiple forms on same page.<\/p>\n<p>8. Multiple country\/state\/city fields in same form.<\/p>\n<p>9. Append only Cities from Country Dropdown.\n<\/p><p>10. See more at Official Website <a href=\"https:\/\/trustyplugins.com\">Trusty Plugins<\/a>\n<\/p><\/blockquote>\n\n<p>This helps you in creating a country drop-down list with state and city. The tag field will automatically add countries name in standard drop-down field of contact form 7. State and city auto populate according to selected country from country dropdown field.<\/p>\n\n<p>How to add the fields in the contact form 7 \n1.) Once you have installed, activated the Country State City Auto Dropdown plugin.\n2.) Add the form-tag  \"country drop-down\" and  \"state dropdown\" and \"city dropdown\"  to your form and save the changes.<\/p>\n\n<p>Optional: if you use two location sets in one form, add the same group option on each tag, e.g. [country_auto* country-shipping group:shipping].<\/p>\n\n<p>City is optional \u2014 country + state only works if you omit the city drop-down tag.<\/p>\n\n<p>Use the tag generator to set a custom placeholder (enter text and check \u201cUse this text as the placeholder\u201d).<\/p>\n\n<p>Requirments:\n* Contact form 7 must be active plugin.<\/p>\n\n<h4>Recommended Plugins<\/h4>\n\n<p>The following plugin is recommended :\n* <a href=\"https:\/\/wordpress.org\/plugins\/contact-form-7\/\">Contact Form 7<\/a> by takayukister \u2013 With Conact Form 7, you can use this plugin. Without contact form 7 this plugin have no needs.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the entire <code>country-state-city-dropdown-cf7<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Kindly make sure 'contact form 7' plugin active before activate this plugin.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Add form tags in desired contact form<\/li>\n<\/ol>\n\n<p>You will find three new field types in your contact form 7 field list.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20to%20set%20preferred%20countries%20list%3F\"><h3>How to set preferred countries list?<\/h3><\/dt>\n<dd><p>All countries display in the free version. Filtering countries, default country, and IP detection are available in the PRO version.<\/p><\/dd>\n<dt id=\"how%20to%20set%20state%20list%3F\"><h3>How to set State list?<\/h3><\/dt>\n<dd><p>All States will display automatically according to selected country from dropdown field.<\/p><\/dd>\n<dt id=\"how%20to%20set%20city%20list%3F\"><h3>How to set City list?<\/h3><\/dt>\n<dd><p>All Cities will display automatically according to selected country and state from dropdown field.<\/p><\/dd>\n<dt id=\"will%20updating%20delete%20my%20data%3F\"><h3>Will updating delete my data?<\/h3><\/dt>\n<dd><p>No. Updates keep your existing country\/state\/city tables and form tags. Settings \u2192 Country State City Dropdown shows data health and optional repair tools.<\/p><\/dd>\n<dt id=\"dropdowns%20are%20empty%20after%20install\"><h3>Dropdowns are empty after install<\/h3><\/dt>\n<dd><p>Go to Settings \u2192 Country State City Dropdown and use \u201cInstall missing data\u201d. Use Force reinstall only if data is corrupted.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.8.0<\/h4>\n\n<ul>\n<li>Safer upgrades for existing sites: never re-seeds or renames tables when data already exists<\/li>\n<li>Adds database indexes for faster state\/city AJAX<\/li>\n<li>Loads front-end script only when Contact Form 7 is present (filter to force legacy all-pages load)<\/li>\n<li>Translatable placeholders and validation messages<\/li>\n<li>Optional group:xxx tag option + smarter pairing for multiple location fields<\/li>\n<li>Settings page: data health, install missing data, softer Pro link<\/li>\n<li>Security\/hardening: fixed SQL prepare usage, capability checks, sanitization<\/li>\n<li>Client-side AJAX cache for states\/cities (faster when revisiting a country)<\/li>\n<li>Disabled + loading states on dependent dropdowns (aria-busy)<\/li>\n<li>Tag generator: placeholder, ID, class, and group fields<\/li>\n<li>Documented country + state only mode (city tag optional)<\/li>\n<li>Custom placeholders via CF7 placeholder option<\/li>\n<\/ul>\n\n<h4>2.7.6<\/h4>\n\n<ul>\n<li>Form Tag generator upgraded to version 2 [contact form 7]<\/li>\n<\/ul>\n\n<h4>2.7.5<\/h4>\n\n<ul>\n<li>Validation error issue has been fixed.<\/li>\n<\/ul>\n\n<h4>2.7.4<\/h4>\n\n<ul>\n<li>State, City List not appending (Issue Fixed)<\/li>\n<\/ul>\n\n<h4>2.7.3<\/h4>\n\n<ul>\n<li>Plugin vulnerability Fixed<\/li>\n<\/ul>\n\n<h4>2.7.2<\/h4>\n\n<ul>\n<li>vulnerability Fixed<\/li>\n<\/ul>\n\n<h4>2.7.1<\/h4>\n\n<ul>\n<li>ABSPATH function added to files<\/li>\n<\/ul>\n\n<h4>2.7<\/h4>\n\n<ul>\n<li>Added support to multiple CF7 forms on page<\/li>\n<li>Added Missing 'West Bengal', 'Ladakh' State\/Cities Updated<\/li>\n<li>A Patch feature added to fix missing State\/Cities<\/li>\n<\/ul>\n\n<h4>2.6<\/h4>\n\n<ul>\n<li>Javascript Bug Fixed<\/li>\n<\/ul>\n\n<h4>2.5<\/h4>\n\n<ul>\n<li>Bug Fixed<\/li>\n<\/ul>\n\n<h4>2.4<\/h4>\n\n<ul>\n<li>internationalization and localization<\/li>\n<\/ul>\n\n<h4>2.3<\/h4>\n\n<ul>\n<li>Bug Fixed<\/li>\n<\/ul>\n\n<h4>2.2<\/h4>\n\n<ul>\n<li>Plugin's PRO version has been released<\/li>\n<\/ul>\n\n<h4>2.1<\/h4>\n\n<ul>\n<li>Fixed the issue of Alphabetical order of States\/Cities<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Added many more missing cities<\/li>\n<li>Added missing States<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First version of plugin.<\/li>\n<\/ul>","raw_excerpt":"Add country state city dropdown CF7 in contact form 7 plugin. In PRO you can use these features on any type of form.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/119255","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/bg.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/bg.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=119255"}],"author":[{"embeddable":true,"href":"https:\/\/bg.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/trustyplugins"}],"wp:attachment":[{"href":"https:\/\/bg.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=119255"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/bg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=119255"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/bg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=119255"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/bg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=119255"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/bg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=119255"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/bg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=119255"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}