Don't think this is a necessary a webform module but was thinking that someone using webforms may have a workaround. The problem is if you click submit multiple times on a webform, it actually created records for every time you clicked.

A Drupal 7 fix would be the Hide Submit module. Thinking to port that module to Drupal 8.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

albertski created an issue. See original summary.

albertski’s picture

Status: Needs work » Active
jrockowitz’s picture

Status: Active » Needs review
FileSize
455.86 KB

Please check 'Prevent duplicate submissions?' in /admin/structure/webform/manage/{webform}/settings/form

albertski’s picture

Status: Needs review » Fixed

Wow Thanks. That worked!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

vicente.oliveira’s picture

How about a solution for Drupal 7? I've tried the Hide Submit fix but it seems to conflict with the Google recaptcha module that we are using on the webform.

Any help would be highly appreciated.

Thank you

jrockowitz’s picture

@vicente.oliveira Welcome to the Drupal Community

I wanted the say "Hello" and encourage you to learn more about...

Watch video about helping us help you

jrockowitz’s picture

@vicente.oliveira You should post your question in https://drupal.stackexchange.com/questions/tagged/webform and tag it for D7. I am almost certain someone will have a solution.

mordonez’s picture

What about Drupal 7 without Javascript? Becasuse the Hide submit module says "For browsers with Javascript disabled this module will have no effect at all."

imen ch’s picture

It does not work for me , I have teste on webform "8.x-5.x-dev" and "8.x-5.0-rc3" ,
I checked this option but I jave not changes on submissions results (I have all submissions history for user).

hassan.farooq121’s picture

@jrockowitz is feature of preventing duplicate submissions also available in drupal 7 version of module? I cant find it.

Alex G’s picture

Just to confirm for anyone finding this via Google. This feature works perfectly on all recent RC versions and current release of 5.1.