Plugin Directory

Test out the new Plugin Directory and let us know what you think.

Gravity Forms Duplicate Prevention

Silently prevent duplicate Gravity Form submissions.

What versions of Gravity Forms has this plugin been tested against?

The plugin was developed against Gravity Forms version 1.6.11, the most current at the time. If you find issues with newer versions please file a bug report at https://github.com/buckii/gravity-forms-duplicate-prevention.

Can I prevent loading the client-side scripting?

Yes! The JavaScript file is a very simple jQuery-powered event listener. If you'd prefer to move it to your own script file (or exclude it entirely), you can add the following to your theme's functions.php:

add_filter( 'gform_duplicate_prevention_load_script', '__return_false' );

I find your lack of paranoia disturbing. What if your plugin accidentally honeypots a valid submission?

We'd by lying if I said that didn't happen to us in testing. As a result we've ensured that Gravity Forms Duplicate Prevention will log the raw HTTP POST data upon detection of a duplicate entry (sent through PHP's system logger using error_log). If something goes wrong your data should be recoverable.

As of version 0.1.1 you can also latch onto the gform_duplicate_prevention_duplicate_entry action hook if you want to do anything else with the duplicate data; Your function will receive the $validation_result array as it was passed to the plugin by Gravity Forms' gform_validation filter.


function log_duplicate_entries( $validation_result ) {
  // send an email, log it, and/or add points to the user's double-click combo score here
add_action( 'gform_duplicate_prevention_duplicate_entry', 'log_duplicate_enties' );

How can I contribute to the further development of this plugin?

The plugin's source is hosted on Github: https://github.com/buckii/gravity-forms-duplicate-prevention. If you'd like to contribute, please feel free to send us a pull request or contact us there.

Requires: 3.5 or higher
Compatible up to: 4.4.6
Last Updated: 10 months ago
Active Installs: 2,000+


5 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.