Hello @dhawal16491,
There is a great extension that allows you to count the submissions of each form on your website separately: Contact Form 7 Serial Numbers.
This is a screenshot of the screen where you can check the number of submissions for each form (located in Dashboard > Settings > Contact Form 7 Serial Numbers):

There are only two points to take into consideration:
1. The plugin has not been updated for a long time, although I confirm that it still works.
2. Although the plugin counts the number of posts, you don’t have an option to automatically restart when a certain number is reached (e.g. 100). You’ll need to check it manually or create a custom function that checks this by consulting the database entry that creates the extension.
This plugin creates a different entry in wp_options
table in database for each form using the nklab_wpcf7sn_count_{$form_id}
pattern. For example, if your CF7 contact form has the ID 123, then the new entry in wp_options
table will be nklab_wpcf7sn_count_123
. Knowing this you could create a callback function hooked in wpcf7_before_send_mail
that allows you to query that code when it reaches 100, send a report email and reset the counter to 0.
You can read Accessing user input data to learn more.
Best regards,
Yordan.