,
This commit is contained in:
@@ -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"
|
||||||
>
|
>
|
||||||
|
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user