[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
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, 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.
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?
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.
I wouldn’t expect CFDB shortcode to
Work in emails. CF7 would have to make WP run it.