From f2cdc9cdc230f12cfc8fc6c71b6c2bb4509dac7f Mon Sep 17 00:00:00 2001 From: dereklseitz Date: Mon, 25 Aug 2025 23:43:06 -0500 Subject: [PATCH] fix: corrected privacyAccepted value assignment in contact-form.js --- src/scripts/contact-form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/contact-form.js b/src/scripts/contact-form.js index bf011e7..e7b781d 100644 --- a/src/scripts/contact-form.js +++ b/src/scripts/contact-form.js @@ -62,7 +62,7 @@ form.addEventListener("submit", function(event) { const phone = document.getElementById("phone").value.trim(); const contactMethod = document.querySelector('input[name="contact-method"]:checked')?.value; const message = document.getElementById("message").value.trim(); - const privacyAccepted = document.getElementById("privacy").checked; + const privacyAccepted = document.getElementById("privacy-policy").checked; let hasErrors = false;