[BACK]Return to form.min.js CVS log [TXT][DIR] Up to [local] / draft

Diff for /draft/form.min.js between version 1.3 and 1.8

version 1.3, 2024/03/27 23:17:56 version 1.8, 2024/03/27 23:30:33
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;
                           f.style.visibility="hidden";
                           console.log(f);
                 });                  });
                 bt.disabled=true;  //              bt.style.visibility="hidden";
                 bt.value="OK";  
         }          }
 };  };
   

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.8

https://cvs.kroczynski.net