,
This commit is contained in:
@@ -121,7 +121,6 @@ pageScripts:
|
||||
type="checkbox"
|
||||
id="privacy-policy"
|
||||
name="privacy-policy"
|
||||
required
|
||||
aria-required="true"
|
||||
aria-describedby="privacy-policy-description"
|
||||
>
|
||||
|
@@ -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 = getElementById("privacy-policy").checked;
|
||||
const privacyAccepted = document.getElementById("privacy-policy").checked;
|
||||
|
||||
let hasErrors = false;
|
||||
|
||||
|
Reference in New Issue
Block a user