fix: corrected privacyAccepted value assignment in contact-form.js

This commit is contained in:
2025-08-25 23:43:06 -05:00
parent 5cf47eb202
commit f2cdc9cdc2

View File

@@ -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;