Find Script Issue
-
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)
Viewing 1 replies (of 1 total)
You must be logged in to reply to this topic.