UniqueID for Contact Form 7

UniqueID for Contact Form 7 Install Statistics

12
100%
Today: 12 Yesterday: 0 All-time: 18,552 downloads
UniqueID for Contact Form 7 Icon

Try plugin: UniqueID for Contact Form 7

We'll create fresh WordPress site with UniqueID for Contact Form 7 installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About UniqueID for Contact Form 7

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

3


1


1


0


5

updated: 3 years ago
since: 5 years ago
author: Ewald Harmsen

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