Title: UniqueID for Contact Form 7
Author: Ewald Harmsen
Published: <strong>January 16, 2019</strong>
Last modified: April 1, 2021

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/cf7-submission-id.svg)

# UniqueID for Contact Form 7

 By [Ewald Harmsen](https://profiles.wordpress.org/tsjippy/)

[Download](https://downloads.wordpress.org/plugin/cf7-submission-id.zip)

 * [Details](https://en-ca.wordpress.org/plugins/cf7-submission-id/#description)
 * [Reviews](https://en-ca.wordpress.org/plugins/cf7-submission-id/#reviews)
 *  [Installation](https://en-ca.wordpress.org/plugins/cf7-submission-id/#installation)
 * [Development](https://en-ca.wordpress.org/plugins/cf7-submission-id/#developers)

 [Support](https://wordpress.org/support/plugin/cf7-submission-id/)

## Description

Plugin for Contact Form 7: adds a field for an unique submission id.
 You can choose
to include a hidden or an visible field to your form. This field will be automatically
filled with an number which is incremented on every submission.

### Usage

Just add the field to your form.

You can filter the value using the cf7_submission_id_filter.
 To add leading zeros
for example, just put the code below in your functions.php

    ```
    add_filter('cf7_submission_id_filter', 'custom_cf7_submission_id_filter');
    function custom_cf7_submission_id_filter($val){
        return sprintf("%04d", $val);
    }
    ```

## Screenshots

[⌊The field generator⌉⌊The field generator⌉[

The field generator

[⌊The add field button⌉⌊The add field button⌉[

The add field button

## Installation

Installing UniqueID for Contact Form 7 can be done either by searching for “UniqueID
for Contact Form 7” via the “Plugins > Add New” screen in your WordPress dashboard,
or by using the following steps:

 1. Download the plugin via WordPress.org.
 2. Upload the ZIP file through the “Plugins > Add New > Upload” screen in your WordPress
    dashboard.
 3. Activate the plugin through the ‘Plugins’ menu in WordPress
 4. Visit the settings screen and configure, as desired.

## Reviews

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

### 󠀁[Work’s fine….](https://wordpress.org/support/topic/works-fine-1388/)󠁿

 [Shane Muirhead](https://profiles.wordpress.org/shanemuir/) January 20, 2022

This plugin work's fine, be sure to be submitting the form without /#wpcf7-f650-
p652-o1 appended to the URL since this will not be classed as a new form submission
and won't increment the submission ID. i.e the same person is not going to fill 
out the form twice if they do the ID's will be the same. I've installed and tested
this and it works fine as long as you properly start a new form submission after
the first submit…

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

### 󠀁[Doesn’t work](https://wordpress.org/support/topic/doesnt-work-2761/)󠁿

 [zakgreene](https://profiles.wordpress.org/zakgreene/) December 23, 2021

Using the "starting number" feature, I submitted several forms and the number never
incremented. As many others have said, it simply didn't work. Don't use.

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

### 󠀁[Does not increment.](https://wordpress.org/support/topic/does-not-increment/)󠁿

 [sumsarisum](https://profiles.wordpress.org/sumsarisum/) April 6, 2021

Plugin simply didn't work. Counter did not increment. Don't bother.

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

### 󠀁[Not working](https://wordpress.org/support/topic/not-working-3395/)󠁿

 [kuwjr](https://profiles.wordpress.org/kuwjr/) September 26, 2020

this plugin doesnt work properly

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

### 󠀁[Can’t make it work :/](https://wordpress.org/support/topic/cant-make-it-work-51/)󠁿

 [ms.yna](https://profiles.wordpress.org/ynadecastro17/) September 16, 2020 1 reply

Unique ID doesn't work/increment. Every time I submit a form, it keeps displaying
the same submission ID Starting number.

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

### 󠀁[Works Perfectly](https://wordpress.org/support/topic/works-perfectly-2058/)󠁿

 [Louise Harris](https://profiles.wordpress.org/louiseh86/) September 10, 2020 1
reply

Thanks for a great plugin, this works perfectly well for me, just what I needed!
Keep up the great work 🙂

 [ Read all 10 reviews ](https://wordpress.org/support/plugin/cf7-submission-id/reviews/)

## Contributors & Developers

“UniqueID for Contact Form 7” is open source software. The following people have
contributed to this plugin.

Contributors

 *   [ Ewald Harmsen ](https://profiles.wordpress.org/tsjippy/)

[Translate “UniqueID for Contact Form 7” into your language.](https://translate.wordpress.org/projects/wp-plugins/cf7-submission-id)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/cf7-submission-id/),
check out the [SVN repository](https://plugins.svn.wordpress.org/cf7-submission-id/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/cf7-submission-id/)
by [RSS](https://plugins.trac.wordpress.org/log/cf7-submission-id/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.4.0

 * Not dependent on jQuery anymore
 * Only increments on success

#### 2.3.0

 * Bugfix when submitting multiple forms at the same time
 * Added the cf7_submission_id_filter

#### 2.2.5

 * only load js when needed

#### 2.2.1

 * bugfix when no id field in contact form

#### 2.2.0

 * Bug fix to take initial value into account

#### 2.1.0

 * Bug fix to be compatible with CF7 5.2 and higher

#### 2.0.1

 * Bug fix for new forms

#### 2.0.0

 * Only update id on succesfull form submission, not on reload of the screen
 * BREAKING CHANGE: name should contain “submission_id”

#### 1.4.0

 * No reload of the page needed anymore, refresh is done via AJAX

#### 1.3.0

 * Wait 5 deconds instead of 3 before reloading the page

#### 1.2.2

 * Small bufix

#### 1.2.1

 * Small bufix

#### 1.2.0

 * Added a 3 seconds delay before the auto-reload takes place

#### 1.1.0

 * Fixed bug where page is not reloaded when field is renamed.

#### 1.0.0

 * Initial release

## Meta

 *  Version **2.4.0**
 *  Last updated: **6 years ago**
 *  Active installations: **2,000+**
 *  WordPress Version: ** 4.0.0 or higher **
 *  Tested up to: **5.7.0**
 *  PHP Version: ** 5.2.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/cf7-submission-id/)
 * Tags:
 * [contact form 7](https://en-ca.wordpress.org/plugins/tags/contact-form-7/)[unique id](https://en-ca.wordpress.org/plugins/tags/unique-id/)
 *  [Advanced View](https://en-ca.wordpress.org/plugins/cf7-submission-id/advanced/)

## Ratings

 2.7 out of 5 stars.

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/cf7-submission-id/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/cf7-submission-id/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/cf7-submission-id/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/cf7-submission-id/reviews/?filter=2)
 *  [  5 1-star reviews     ](https://wordpress.org/support/plugin/cf7-submission-id/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/cf7-submission-id/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/cf7-submission-id/reviews/)

## Contributors

 *   [ Ewald Harmsen ](https://profiles.wordpress.org/tsjippy/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/cf7-submission-id/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.harmseninnigeria.nl/helpmee/)