add call for hCaptcha token
This commit is contained in:
parent
e70d594e7f
commit
1479492753
|
@ -65,8 +65,6 @@ form.addEventListener("submit", function(event) {
|
|||
const contactMethod = document.querySelector('input[name="contact-method"]:checked')?.value;
|
||||
const message = document.getElementById("message").value.trim();
|
||||
// Get the hCaptcha token from the global hcaptcha object
|
||||
const hCaptchaResponse = hcaptcha.getResponse();
|
||||
|
||||
let hasErrors = false;
|
||||
|
||||
// Validation logic...
|
||||
|
|
Loading…
Reference in New Issue