This commit is contained in:
2025-08-26 00:53:52 -05:00
parent 3bc28dc5e6
commit 8ab7882501
2 changed files with 1 additions and 2 deletions

View File

@@ -121,7 +121,6 @@ pageScripts:
type="checkbox" type="checkbox"
id="privacy-policy" id="privacy-policy"
name="privacy-policy" name="privacy-policy"
required
aria-required="true" aria-required="true"
aria-describedby="privacy-policy-description" aria-describedby="privacy-policy-description"
> >

View File

@@ -62,7 +62,7 @@ form.addEventListener("submit", function(event) {
const phone = document.getElementById("phone").value.trim(); const phone = document.getElementById("phone").value.trim();
const contactMethod = document.querySelector('input[name="contact-method"]:checked')?.value; const contactMethod = document.querySelector('input[name="contact-method"]:checked')?.value;
const message = document.getElementById("message").value.trim(); const message = document.getElementById("message").value.trim();
const privacyAccepted = getElementById("privacy-policy").checked; const privacyAccepted = document.getElementById("privacy-policy").checked;
let hasErrors = false; let hasErrors = false;