BACK TO DIRECTORY

UniqueID for Contact Form 7

by Ewald Harmsen

2.7
(10 ratings)

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 add field button

The add field button

Plugin Details

Active Installs
2K+
Total Downloads
21,559
Version
2.4.0
Requires WP
4.0.0
Requires PHP
5.2.4
Tested Up To
5.7.0
Added
2019-01-16
Last Updated
2021-04-01 1:22pm GMT

Ratings

5
3
4
1
3
1
2
0
1
5