Title: Find Script Issue
Last modified: August 28, 2026

---

# Find Script Issue

 *  Resolved [Sabbir Hossain](https://wordpress.org/support/users/devsabbirhossain/)
 * (@devsabbirhossain)
 * [3 weeks ago](https://wordpress.org/support/topic/find-script-issue/)
 *     ```wp-block-code
       Fix the script issueUpdate(wp-content/plugins/country-state-city-auto-dropdown/assets/js/script.js)  ⎿  Added 1 line, removed 1 line      198        199    // Disabled fields are omitted from submit — re-enable so CF7 still receives values.      200    function reenableDependent($form) {      201 -    $(form).find("select.state_auto, select.city_auto").prop("disabled", false);                            201 +    $($form).find("select.state_auto, select.city_auto").prop("disabled", false);                           202    }      203    $(document).on("submit", "form.wpcf7-form", function () {      204      reenableDependent(this);Fix the script issueUpdate(wp-content/plugins/country-state-city-auto-dropdown/assets/js/script.js)  ⎿  Added 1 line, removed 1 line      198        199    // Disabled fields are omitted from submit — re-enable so CF7 still receives values.      200    function reenableDependent($form) {      201 -    $(form).find("select.state_auto, select.city_auto").prop("disabled", false);                            201 +    $($form).find("select.state_auto, select.city_auto").prop("disabled", false);                           202    }      203    $(document).on("submit", "form.wpcf7-form", function () {      204      reenableDependent(this);201 number line 
       ```
   

Viewing 1 replies (of 1 total)

 *  [Jasveer](https://wordpress.org/support/users/jasveer7863/)
 * (@jasveer7863)
 * [2 weeks, 6 days ago](https://wordpress.org/support/topic/find-script-issue/#post-19006332)
 * Hi [@devsabbirhossain](https://wordpress.org/support/users/devsabbirhossain/)
 * Thanks for catching this.
 * We’ve fixed this in version 2.8.2. Please update the plugin and retest your form.
   If the problem persists, let us know and we’ll help troubleshoot.
 * We appreciate you taking the time to report it.
   Best regards,Jasveer

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffind-script-issue%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/country-state-city-auto-dropdown/assets/icon-256x256.png?
   rev=2272656)
 * [Country State City Dropdown CF7](https://wordpress.org/plugins/country-state-city-auto-dropdown/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/country-state-city-auto-dropdown/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/country-state-city-auto-dropdown/)
 * [Active Topics](https://wordpress.org/support/plugin/country-state-city-auto-dropdown/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/country-state-city-auto-dropdown/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/country-state-city-auto-dropdown/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jasveer](https://wordpress.org/support/users/jasveer7863/)
 * Last activity: [2 weeks, 6 days ago](https://wordpress.org/support/topic/find-script-issue/#post-19006332)
 * Status: resolved