We're seeing duplicate submissions. It's between 2 - 15 of the same submissions, usually 7. They come in irregularly over the next couple minutes after the first one. And only sometimes. They are all distinct in the database, and seem like copies of a legitimate user submission.
Does this sound like a known issue? What's the best way to approach troubleshooting this?
--- Update 19/11/2019 ---
Duplicate form submission protection through Invisible Captcha is enabled.
I'm using custom form templates with:
{{ getCsrfInput() }}
{{ craft.sproutInvisibleCaptcha.protect() }}
But not
{% hook 'sproutForms.modifyForm' %}
--- Update 25/11/2019 ---
Setting the required time on form to 15 seconds, disabling the Enable Sprout Forms Protection
option which automatically adds Invisible Captcha support for all Sprout Forms using the craft.sproutForms.displayForm()
tag, removing {% hook 'sproutForms.modifyForm' %}
, and keeping {{ getCsrfInput() }}{{ craft.sproutInvisibleCaptcha.protect() }}
, allowed a submission to be recorded 13 times over the course of 2 minutes.
--- Update 27/11/2019 ---
The duplicate submissions came from from another, unprotected, instance of the form with it's own template. It submits without loading the redirect URL, clearing the form, or presenting any messages, leaving the user to click the button multiple times.
Settings->Spam Protection
, do you have the Duplicate Captcha enabled? If so, have you overridden the provided Form Templates with custom templates? If so, do your custom Form Templates have following line in the templates:{% hook 'sproutForms.modifyForm' %}
?