{"id":96880,"date":"2019-01-16T20:27:01","date_gmt":"2019-01-16T20:27:01","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/contact-form-7-submission-id\/"},"modified":"2021-04-01T13:22:14","modified_gmt":"2021-04-01T13:22:14","slug":"cf7-submission-id","status":"publish","type":"plugin","link":"https:\/\/scn.wordpress.org\/plugins\/cf7-submission-id\/","author":16156604,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.4.0","stable_tag":"trunk","tested":"5.7.0","requires":"4.0.0","requires_php":"5.2.4","requires_plugins":"","header_name":"Contact Form 7 - Submission id","header_author":"Ewald Harmsen","header_description":"Adds a field for a unique submission id.","assets_banners_color":"","last_updated":"2021-04-01 13:22:14","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.harmseninnigeria.nl\/helpmee\/","header_plugin_uri":"","header_author_uri":"","rating":2.7,"author_block_rating":0,"active_installs":2000,"downloads":20558,"num_ratings":10,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":5,"2":0,"3":1,"4":1,"5":3},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2013700,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2013700,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"The field generator","2":"The add field button"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1152,166855,33077],"plugin_category":[],"plugin_contributors":[166782],"plugin_business_model":[],"class_list":["post-96880","plugin","type-plugin","status-publish","hentry","plugin_tags-contact-form-7","plugin_tags-submission-id","plugin_tags-unique-id","plugin_contributors-tsjippy","plugin_committers-tsjippy"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/cf7-submission-id.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/cf7-submission-id\/assets\/screenshot-1.png?rev=2013700","caption":"The field generator"},{"src":"https:\/\/ps.w.org\/cf7-submission-id\/assets\/screenshot-2.png?rev=2013700","caption":"The add field button"}],"raw_content":"<!--section=description-->\n<p>Plugin for Contact Form 7: adds a field for an unique submission id.\nYou can choose to include a hidden or an visible field to your form.\nThis field will be automatically filled with an number which is incremented on every submission.<\/p>\n\n<h3>Usage<\/h3>\n\n<p>Just add the field to your form.<\/p>\n\n<p>You can filter the value using the cf7_submission_id_filter.\nTo add leading zeros for example, just put the code below in your functions.php<\/p>\n\n<pre><code>add_filter('cf7_submission_id_filter', 'custom_cf7_submission_id_filter');\nfunction custom_cf7_submission_id_filter($val){\n    return sprintf(\"%04d\", $val);\n}\n<\/code><\/pre>\n\n<!--section=installation-->\n<p>Installing UniqueID for Contact Form 7 can be done either by searching for \"UniqueID for Contact Form 7\" via the \"Plugins &gt; Add New\" screen in your WordPress dashboard, or by using the following steps:<\/p>\n\n<ol>\n<li>Download the plugin via WordPress.org.<\/li>\n<li>Upload the ZIP file through the \"Plugins &gt; Add New &gt; Upload\" screen in your WordPress dashboard.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Visit the settings screen and configure, as desired.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>2.4.0<\/h4>\n\n<ul>\n<li>Not dependent on jQuery anymore<\/li>\n<li>Only increments on success<\/li>\n<\/ul>\n\n<h4>2.3.0<\/h4>\n\n<ul>\n<li>Bugfix when submitting multiple forms at the same time<\/li>\n<li>Added the cf7_submission_id_filter<\/li>\n<\/ul>\n\n<h4>2.2.5<\/h4>\n\n<ul>\n<li>only load js when needed<\/li>\n<\/ul>\n\n<h4>2.2.1<\/h4>\n\n<ul>\n<li>bugfix when no id field in contact form<\/li>\n<\/ul>\n\n<h4>2.2.0<\/h4>\n\n<ul>\n<li>Bug fix to take initial value into account<\/li>\n<\/ul>\n\n<h4>2.1.0<\/h4>\n\n<ul>\n<li>Bug fix to be compatible with CF7 5.2 and higher<\/li>\n<\/ul>\n\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>Bug fix for new forms<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Only update id on succesfull form submission, not on reload of the screen<\/li>\n<li>BREAKING CHANGE: name should contain \"submission_id\"<\/li>\n<\/ul>\n\n<h4>1.4.0<\/h4>\n\n<ul>\n<li>No reload of the page needed anymore, refresh is done via AJAX<\/li>\n<\/ul>\n\n<h4>1.3.0<\/h4>\n\n<ul>\n<li>Wait 5 deconds instead of 3 before reloading the page<\/li>\n<\/ul>\n\n<h4>1.2.2<\/h4>\n\n<ul>\n<li>Small bufix<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Small bufix<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Added a 3 seconds delay before the auto-reload takes place<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Fixed bug where page is not reloaded when field is renamed.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"An add-on for Contact Form 7 to add an unique id to every form submission.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/96880","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=96880"}],"author":[{"embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/tsjippy"}],"wp:attachment":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=96880"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=96880"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=96880"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=96880"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=96880"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=96880"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}