=================================================================== RCS file: /cvs/cvs/draft/form.min.js,v retrieving revision 1.66 retrieving revision 1.69 diff -u -p -r1.66 -r1.69 --- draft/form.min.js 2024/03/30 17:08:44 1.66 +++ draft/form.min.js 2024/03/30 18:02:07 1.69 @@ -26,7 +26,7 @@ async function sendData() { ii.textContent="One or more fields have an error. Please check and try again."; } else { var fc = document.querySelectorAll(".wpcf7-form-control"); - ii.textContent="All good."; + ii.textContent="Checking..."; fc.forEach((f) => { f.disabled=true; l=f; @@ -44,7 +44,7 @@ async function sendData() { callback: function(token) { const dataToSend = JSON.stringify({"add": em, "sub": su, "msg": ms, "tok": token}); console.log(`JSON: ${dataToSend}`); - ii.textContent="Sending"; + ii.textContent="Sending..."; @@ -59,7 +59,7 @@ fetch("/feedbk/", { .then(json => console.log(json)) - + ii.textContent=json['msg'];