• Resolved Sabbir Hossain

    (@devsabbirhossain)


    Fix the script issue


    Update(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 issue


    Update(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

    (@jasveer7863)

    Hi @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 to reply to this topic.