version 1.12, 2024/03/27 23:39:30 |
version 1.13, 2024/03/27 23:42:32 |
Line 26 async function sendData() { |
|
Line 26 async function sendData() { |
|
if(er){ |
if(er){ |
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"); |
ii.textContent="All good."; |
ii.textContent="All good."; |
fc.forEach((f) => { |
fc.forEach((f) => { |
f.disabled=true; |
f.disabled=true; |
|
console.log(f.getElementById()); |
|
l=f; |
}); |
}); |
fc.last.visibility="hidden"; |
l.style.visibility="hidden"; |
} |
} |
}; |
}; |
|
|