Title: Counting submissions
Last modified: February 2, 2017

---

# Counting submissions

 *  [pragmatikstu](https://wordpress.org/support/users/pragmatikstu/)
 * (@pragmatikstu)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/counting-submissions/)
 * Good day everyone,
 * I would like to give every submission to my form a unique ID, or count if you
   will.
 * I’m trying to use the [cfdb-count form=”myform”] shortcode, but it does not produce
   any value – the shortcode itself is just displayed on both the page and in the
   email.
 * What am I not understanding here? I’m obviously exchaning “myform” with the title
   of the particular form.

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Michael Simpson](https://wordpress.org/support/users/msimpson/)
 * (@msimpson)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/counting-submissions/#post-8732822)
 * [cfdb-count] counts the entries. So if you had 100 entries, you would get “100”.
 * Look at the “Add Row Number” example on [https://cfdbplugin.com/?page_id=1167](https://cfdbplugin.com/?page_id=1167)
 *  Thread Starter [pragmatikstu](https://wordpress.org/support/users/pragmatikstu/)
 * (@pragmatikstu)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/counting-submissions/#post-8743651)
 * Thank you so much for your reply Michael. So great to have the plugin developer
   be this attentive!
 * I tried out the “AddRowNumber”-shortcode, but from what I can tell, this only
   enumerates the rows within that table. My form-submissions are separated into
   several tables with different “show” and “filter” and with conditional fields
   etc., and every row across different tables (submissions) needs a unique ID, 
   since my client needs it for their external system.
 * I have tried using this [CF7-counter](http://sevenspark.com/tutorials/how-to-create-a-counter-for-contact-form-7),
   but it produces duplicates – even though I’ve added code that refreshes the page
   on submission.
 * I know you cannot answer for someone else’s PHP – but do you know of any successful
   implementations of a unique ID functionality? Like, every submission would be
   numbered starting from 001, 002, 003, 004 (…)
    -  This reply was modified 9 years, 3 months ago by [pragmatikstu](https://wordpress.org/support/users/pragmatikstu/).
 *  Thread Starter [pragmatikstu](https://wordpress.org/support/users/pragmatikstu/)
 * (@pragmatikstu)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/counting-submissions/#post-8743762)
 * PS! I noticed something odd using the [count] function.
 * When I put “[cfdb-count form=”myform”]” in the email-output, I only get the shortcode
   in the received email – no value.
 * HOWEVER! I installed the “Contact Form Submissions”-plugin, and there I get the
   count-value…
 * Why won’t the value show in the email?
 *  Plugin Author [Michael Simpson](https://wordpress.org/support/users/msimpson/)
 * (@msimpson)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/counting-submissions/#post-8744892)
 * In a shortcode, if you add “submit_time” to the “show” then you will see unique
   values for each submission. But they are not 1,2,3 count values.
 *  Plugin Author [Michael Simpson](https://wordpress.org/support/users/msimpson/)
 * (@msimpson)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/counting-submissions/#post-8744900)
 * I wouldn’t expect CFDB shortcode to
    Work in emails. CF7 would have to make WP
   run it.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Counting submissions’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/contact-form-7-to-database-extension_ffffff.
   svg)
 * [Contact Form DB](https://wordpress.org/plugins/contact-form-7-to-database-extension/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7-to-database-extension/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/reviews/)

## Tags

 * [count](https://wordpress.org/support/topic-tag/count/)
 * [id](https://wordpress.org/support/topic-tag/id/)

 * 5 replies
 * 2 participants
 * Last reply from: [Michael Simpson](https://wordpress.org/support/users/msimpson/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/counting-submissions/#post-8744900)
 * Status: not resolved