version 1.3, 2024/03/27 23:17:56 |
version 1.14, 2024/03/27 23:43:49 |
Line 27 async function sendData() { |
|
Line 27 async function sendData() { |
|
ii.textContent="One or more fields have an error. Please check and try again."; |
ii.textContent="One or more fields have an error. Please check and try again."; |
} else { |
} else { |
var fc = document.querySelectorAll(".wpcf7-form-control"), |
var fc = document.querySelectorAll(".wpcf7-form-control"), |
bt = document.querySelector("wpcf7-button"); |
bt = document.querySelector("#wpcf7-button"); |
ii.textContent="All good."; |
ii.textContent="All good."; |
fc.forEach((f) => { |
fc.forEach((f) => { |
f.disabled=true; |
f.disabled=true; |
|
l=f; |
}); |
}); |
bt.disabled=true; |
l.style.visibility="hidden"; |
bt.value="OK"; |
|
} |
} |
}; |
}; |
|
|