Submit will send the referral directly to sales@cibsecurity.com.
form.addEventListener("submit", function () { // Let browser validation run first if (!form.checkValidity()) return; statusEl.textContent = "Sending..."; statusEl.className = "status"; });