version 1.2, 2024/03/27 23:12:53 |
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.getElementById("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.text="OK" |
l.style.visibility="hidden"; |
} |
} |
}; |
}; |
|
|