This plugin is outdated and might not be supported anymore
UniqueID for Contact Form 7

UniqueID for Contact Form 7

Details
View on WordPress

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);
}

Details

Plugin code:
cf7-submission-id
Plugin version:
2.4.0
Outdated:
Yes
WP version:
4.0.0 or higher
PHP version:
5.2.4 or higher
Test up to WP version:
5.7.0
Total installations:
2,000
Last updated:
2021-04-01
Rating:
Times rated:
10
contact-form-7
submission-id
unique-id