add hcaptcha reset
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user