UniqueID for Contact Form 7

An add-on for Contact Form 7 to add an unique id to every form submission.

Author:Ewald Harmsen (profile at wordpress.org)
WordPress version required:4.0.0
WordPress version tested:5.7.0
Plugin version:2.4.0
Added to WordPress repository:16-01-2019
Last updated:01-04-2021
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:54
Rated by:10
Plugin URI:
Total downloads:18 607
Active installs:2 000+
plugin download
Click to start download

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
ChangeLog