From e70d594e7fad01c81dc06d3706c81550a37a35b5 Mon Sep 17 00:00:00 2001 From: dereklseitz Date: Thu, 21 Aug 2025 19:16:53 -0500 Subject: [PATCH] add call for hCaptcha token --- src/scripts/contact-form.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/scripts/contact-form.js b/src/scripts/contact-form.js index b315f9b..29490ef 100644 --- a/src/scripts/contact-form.js +++ b/src/scripts/contact-form.js @@ -109,6 +109,7 @@ form.addEventListener("submit", function(event) { hasErrors = true; } + const hCaptchaResponse = hcaptcha.getResponse(); // Check for hCaptcha token if (!hCaptchaResponse) { showMessage("Please complete the CAPTCHA.", true);