add hcaptcha reset

This commit is contained in:
Derek L. Seitz 2025-08-21 19:24:18 -05:00
parent 1479492753
commit 1a6bf78e49
1 changed files with 1 additions and 0 deletions

View File

@ -147,6 +147,7 @@ form.addEventListener("submit", function(event) {
console.log('Success:', data); console.log('Success:', data);
showMessage('Form submitted successfully!', false); showMessage('Form submitted successfully!', false);
form.reset(); form.reset();
hcaptcha.reset();
}) })
.catch((error) => { .catch((error) => {
console.error('Error:', error); console.error('Error:', error);