BACK TO DIRECTORY

Gravity Forms Duplicate Prevention

by Buckeye Interactive

4.6
(12 ratings)

This plugin adds silent duplicate detection to the popular Gravity Forms WordPress plugin. The goal is to prevent Gravity Forms from creating multiple entries when an impatient user double-, triple, or full-on secret-combo-move-clicks his/her mouse when submitting a form. No modifications to your forms is necessary, it just works.

How does it work?

The plugin prevents duplicate submissions in two ways: first, a small bit of JavaScript is loaded into the page that disables the submit button(s) on form submit. Second, the plugin creates a cryptographic hash of the form data upon submission. This unique hash is compared to a hash stored in a PHP session (if available) and, if a matching hash is found, the form data is altered to simulate a failing honeypot condition. Like with all failed honeypots, Gravity Forms will skip saving the data or sending any notifications but the form will appear (to the user) to have been submitted successfully.

Plugin development can be tracked on the project’s Github Page: https://github.com/buckii/gravity-forms-duplicate-prevention

Plugin Details

Active Installs
300
Total Downloads
27,676
Version
0.1.5
Requires WP
3.5
Requires PHP
Tested Up To
4.4.34
Added
2013-02-08
Last Updated
2016-03-20 7:31pm GMT

Ratings

5
10
4
1
3
0
2
0
1
1