Title: Gravity Forms Duplicate Prevention
Author: Buckeye Interactive
Published: <strong>8 فيبروري 2013</strong>
Last modified: 20 مارچ 2016

---

پلگ انس ڳولھيو

ھي پلگ ان **WordPress جي جديد 3 وڏين رليزز** سان آزمايو نه ويو آھي. اهو ٿي سگهي 
ٿو وڌيڪ برقرار يا سپورٽ نه ٿي سگهي ۽ ٿي سگهي ٿو مطابقت جا مسئلا جڏهن ورڈپریس جي 
وڌيڪ تازي ورزن سان استعمال ڪيو وڃي.

![](https://s.w.org/plugins/geopattern-icon/gravity-forms-duplicate-prevention.svg)

# Gravity Forms Duplicate Prevention

 کان: [Buckeye Interactive](https://profiles.wordpress.org/buckeyeinteractive/)

[ڊائون لوڊ ڪريو](https://downloads.wordpress.org/plugin/gravity-forms-duplicate-prevention.0.1.5.zip)

 * [تفصيل](https://snd.wordpress.org/plugins/gravity-forms-duplicate-prevention/#description)
 * [جائزو](https://snd.wordpress.org/plugins/gravity-forms-duplicate-prevention/#reviews)
 *  [تنصيب](https://snd.wordpress.org/plugins/gravity-forms-duplicate-prevention/#installation)
 * [ترقي](https://snd.wordpress.org/plugins/gravity-forms-duplicate-prevention/#developers)

 [سھائتا](https://wordpress.org/support/plugin/gravity-forms-duplicate-prevention/)

## وضاحت

This plugin adds silent duplicate detection to the popular [Gravity Forms](http://www.gravityforms.com/)
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](https://github.com/buckii/gravity-forms-duplicate-prevention)

## انسٽاليشن

 1. Upload the gravity-forms-duplicate-prevention plugin to your WordPress plugins 
    directory
 2. Activate the plugin

## FAQ

  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](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`](http://php.net/manual/en/function.error-log.php)).
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`](http://www.gravityhelp.com/documentation/page/Gform_validation)
filter.

**Example:**

    ```
    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](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.

## جائزا

![](https://secure.gravatar.com/avatar/9d2d55acbaebd1c0bf3d94c778d235b6aa656b1618d781d1808a3ed111e25ff3?
s=60&d=retro&r=g)

### 󠀁[Still works](https://wordpress.org/support/topic/still-works-119/)󠁿

 [dfterry](https://profiles.wordpress.org/dfterry/) 16 آڪٽوبر 2017

Still works, but I don’t like it filling up error logs with messages. Should be 
sending that somewhere else.

![](https://secure.gravatar.com/avatar/2c4d57c67039beceb6ae2c882f6dd6aab0accade24d2b4dd92239083c782fb5f?
s=60&d=retro&r=g)

### 󠀁[Does not work anymore but…](https://wordpress.org/support/topic/does-not-work-anymore-but/)󠁿

 [termel](https://profiles.wordpress.org/munger41/) 19 سيپٽمبر 2017 2 replies

This one works now : https://wordpress.org/plugins/gf-prevent-duplicates/ Thanks
anyway

![](https://secure.gravatar.com/avatar/a27da94b2d485330a66db8664e788d0b007ae5a54eda05f5543a23ca773a9106?
s=60&d=retro&r=g)

### 󠀁[working nice!](https://wordpress.org/support/topic/working-nice-11/)󠁿

 [parksijoong](https://profiles.wordpress.org/parksijoong/) 1 جُولاءِ 2017

Thank you. it is working nice

![](https://secure.gravatar.com/avatar/26e7391fff6b02acc3922e24b64e2e417de9685473eb6fe2d271478a50f03844?
s=60&d=retro&r=g)

### 󠀁[Perfect](https://wordpress.org/support/topic/perfect-3555/)󠁿

 [tamias-airlab](https://profiles.wordpress.org/tamias-airlab/) 31 جنوري 2017

Work as expected. Thanks a lot ! Mat

![](https://secure.gravatar.com/avatar/134116e016afe89d04632239206568a37f9e80a839e692757373478592548ce1?
s=60&d=retro&r=g)

### 󠀁[Top notch, thank you!](https://wordpress.org/support/topic/top-notch-thank-you/)󠁿

 [joleksow](https://profiles.wordpress.org/joleksow/) 3 سيپٽمبر 2016

This is a great plugin that does exactly what it claims — nothing more, nothing 
less. The code is really well documented and I appreciate the inclusion of filters
in case site owners need to make slight modifications. Really great work!

![](https://secure.gravatar.com/avatar/2806ab557e2a153347da9fb0e2dbe58ab47ce10bb60ccac71193e8ed67349a23?
s=60&d=retro&r=g)

### 󠀁[Works perfect!](https://wordpress.org/support/topic/works-perfect-291/)󠁿

 [edujugon](https://profiles.wordpress.org/edujugon/) 3 سيپٽمبر 2016

Great Job, It works 100%.

 [ جمع: سڀ 12 تبصرا پڙهو ](https://wordpress.org/support/plugin/gravity-forms-duplicate-prevention/reviews/)

## تعاون ڪندڙ & ڊولپرز

“Gravity Forms Duplicate Prevention” اوپن سورس سافٽ ويئر آهي. ھيٺين ماڻھن ھن پلگ
ان ۾ حصو ورتو آھي.

تعاون ڪندڙ

 *   [ Buckeye Interactive ](https://profiles.wordpress.org/buckeyeinteractive/)
 *   [ Steve Grunwell ](https://profiles.wordpress.org/stevegrunwell/)

[ترجمو ڪريو “Gravity Forms Duplicate Prevention” توهان جي ٻولي ۾.](https://translate.wordpress.org/projects/wp-plugins/gravity-forms-duplicate-prevention)

### ڊولپمينٽ ۾ دلچسپي؟

[ڪوڊ براؤز ڪريو](https://plugins.trac.wordpress.org/browser/gravity-forms-duplicate-prevention/)،
چيڪ ڪريو [SVN مخزن](https://plugins.svn.wordpress.org/gravity-forms-duplicate-prevention/)،
يا رڪنيت حاصل ڪريو [ڊولپمينٽ لاگ](https://plugins.trac.wordpress.org/log/gravity-forms-duplicate-prevention/)
پاران [RSS](https://plugins.trac.wordpress.org/log/gravity-forms-duplicate-prevention/?limit=100&mode=stop_on_copy&format=rss).

## لاگ تبدیل ڪريو

#### 0.1.5

 * Add credit card number obfuscation (thanks Justin Foell) and `gform_duplicate_prevention_execute`
   filter (thanks Mat Gargano).

#### 0.1.4

 * Integrate Gravity Forms logging support (thanks Justin Foell).

#### 0.1.3

 * Limit the scope of the JavaScript button disabling to submit buttons within `.
   gform_wrapper` elements (thanks to Mike Yott for catching this!)

#### 0.1.2

 * Fixed strict notices regarding the plugin version

#### 0.1.1

 * Added `gform_duplicate_prevention_duplicate_entry` action hook that fires when
   a duplicate entry is detected
 * Documentation updates

#### 0.1

 * First public version of the plugin

## ميٽا

 *  Version **0.1.5**
 *  Last updated **10 سالَ اڳ**
 *  Active installations **300+**
 *  WordPress version ** 3.5 يا وڌيڪ **
 *  Tested up to **4.4.34**
 *  Language
 * [English (US)](https://wordpress.org/plugins/gravity-forms-duplicate-prevention/)
 * Tags
 * [forms](https://snd.wordpress.org/plugins/tags/forms/)[gravity forms](https://snd.wordpress.org/plugins/tags/gravity-forms/)
 *  [ترقي يافته ڏيک](https://snd.wordpress.org/plugins/gravity-forms-duplicate-prevention/advanced/)

## درجه بندي

 4.6 out of 5 stars.

 *  [  10 5-star reviews     ](https://wordpress.org/support/plugin/gravity-forms-duplicate-prevention/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/gravity-forms-duplicate-prevention/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/gravity-forms-duplicate-prevention/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/gravity-forms-duplicate-prevention/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/gravity-forms-duplicate-prevention/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/gravity-forms-duplicate-prevention/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/gravity-forms-duplicate-prevention/reviews/)

## تعاون ڪندڙ

 *   [ Buckeye Interactive ](https://profiles.wordpress.org/buckeyeinteractive/)
 *   [ Steve Grunwell ](https://profiles.wordpress.org/stevegrunwell/)

## سھائتا

چوڻ لاءِ ڪجهه آهي؟ مدد گهرجي؟

 [ڏسو سپورٽ فورم](https://wordpress.org/support/plugin/gravity-forms-duplicate-prevention/)