Storage for Contact Form CF7
Contact Form 7 Storage stores all Contact Form 7 submissions (including attachments) in your WordPress database (DB). All contact form entries and business leads are stored safely even if the e-mail notifications go missing or get deleted.
The plugin provides the following functionality to help with GDPR compliance:
- Easily delete form entry data, meta information and uploaded attachments.
- Disable storing user IP address and browser information.
This plugin is developed and maintained by Kaspars Dambis who is a WordPress core contributor and professional WordPress developer since 2007. All support requests are handled by the plugin author.
All form submissions are stored in the WordPress backend in addition to being sent via e-mail. E-mail delivery is never 100% reliable and having a backup of all contact entries will ensure you never miss a lead or inquiry.
Export form submissions as CSV for Excel. Export all submissions or use the date and form filters to select which entries you want to export. Export also includes links to entry attachments.
Each entry stores the following details about the submission:
- Individual input field values (also available as individual columns in the exported CSV files).
- All attachments uploaded to the contact form.
- Time and date of the entry.
- E-mail address of the contact form recipient.
- Subject line of the e-mail that was sent to the contact form recipient.
- Post or page URL where the contact form was submitted (referrer).
- IP address, browser and device information (user-agent) of the submission.
- Link to the configuration page for the contact form that was used for submission.
Storing user IP address and device information can be disabled in the plugin settings.
Install the Envato Market plugin to enable automatic updates of this plugin right from your WordPress dashboard. Remember to specify your API Token in the Envato Market settings page.
Bonus Plugin: Contact Form 7 Controls
Get our companion plugin for Contact Form 7 for free!
- Go to “Plugins → Add New” in the main menu in your WordPress dashboard.
- Select the “Upload” tab at the top of the page.
- Select the
cf7-storage.zipfile for the upload and click “Upload”.
- Be sure to activate the plugin once it has been uploaded.
This plugin adds a new section called “Entries” under the “Contact” menu in the WordPress dashboard which lists all of the contact form submissions in a reverse chronological order. Quick preview of each entry to avoid extra clicks.
Dropdown selectors at the top of the list provide filtering and sorting of the contact form entries by the contact form used for submission and the date of submission.
Export entries as CSV by using the “Export as CSV” button at the top of the form entry list. Use the contact form filter or the bulk action dropdown to select which submissions to export. Specify the CSV delimiter character (comma, semicolon or tab) for quickly opening the file in MS Excel.
Individual form storage settings to exclude fields from being added to the CSV export.
Free form text search is available for finding specific entries.
File attachment shortcode
[file-field] automatically links to the uploaded file in the notification email instead of just displaying the filename of the uploaded file.
Reference entry ID and entry URL in the e-mails that get sent to the admin:
[storage_entry_id]is replaced with a unique entry ID such as 3212, and
[storage_entry_url]generates a link to the entry in the backend accessible only to registered users.
Please note that Contact Form 7 doesn't support wrapping variables in square brackets
 such as
[[storage_entry_id]]. Please use another set of characters (for example
- Contact Form 7 plugin.
- Tested up to WordPress 5.1.
- Requires at least WordPress 3.2.
- List of all form submissions
- Detailed view of each submission
- CSV export of form submissions
Please use the dedicated support section on CodeCanyon.
2.0.2 (February 18, 2019)
- Security fix: Escape all form field data in the admin output. Thanks to Patrick Samuel for reporting the issue.
- Tested with WordPress 5.1.
2.0.1 (November 15, 2018)
- Replace upload file URLs in confirmation emails even when uploads are not attached to email.
- Tested with WordPress 5.0.
2.0.0 (September 8, 2018)
- Introduce plugin and form settings pages.
- Mark as tested with WordPress 4.9.8.
1.7.0 (July 30, 2018)
- Mark as tested with WordPress 4.9.7.
- Reformat code according to the WordPress coding standards.
1.6.1 (December 17, 2017)
- Mark as tested with WordPress 4.9.1.
- Silence errors when creating the uploads directory.
- Added developer tools to enforce coding standards.
1.6.0 (March 2, 2017)
- New: Add Spanish and Catalan translations. Thank you Albert Parera!
- New: File attachment fields such as
[file-field-name]are automatically replaced with file URLs in the email notifications.
- New: Added a filter
cf7_storage_skip_captureto disable capturing form submission. The second parameter is an instance of
- Bugfix: Delete the attachment files when a form entry is deleted.
1.5.5 (February 18, 2017)
- Bugfix: Store “piped” checkbox labels instead of just values.
1.5.4 (June 3, 2016)
- Bugfix: Fix the
[storage_entry_url]mail tag URL.
1.5.3 (June 1, 2016)
- Bugfix: Check for the field type before adding the piped field label.
- Bugfix: Allow export of the selected entries only.
1.5.2 (May 21, 2016)
- New feature: Added a subscription form for plugin update notifications.
- New feature: Added a link to form entries to the plugin list next to the “Activate” button.
1.5.1 (May 10, 2016)
- New feature: Add field values from the pipped fields to the CSV export with a
-pipe-labelfield name suffix.
- Bugfix: Ensure that bulk trash/delete/untrash works as expected after changing the
1.5.0 (May 4, 2016)
- Added CSV delimiter selector for better Excel support out of the box.
- Bugfix: The length of the URL no longer increases between searches.
1.4.5 (December 10, 2015)
- Export CSV now includes the remote IP address by default.
cf7_storage_csv_columnsfilter is now applied after the individual form field value columns have been added to the export array.
1.4.4 (September 6, 2015)
- Bugfix: Don't cast entry ID to integer during
- Add a filter
cf7_storage_csv_delimiterto enable custom CSV delimiters. Use “;” as the default column delimiter in CSV export files (for Microsoft Excel compatability).
- Exported CSV files should now open correctly in Excel by default.
- Add form input field names as column headers in the CSV export.
- Add support for fields with multiple values (checkboxes, radio) to CSV export too.
- Add support for fields with multiple values (checkboxes, radio) in the entry view.
- Fix issue with upload filename backslashes being removed on Windows servers.
- Don't store the mail 2 which is usually sent as a receipt to the user.
- Include automatic update library which was missing in 1.3.6.
- Show uploaded files in the backend even if they were not mailed.
- More reliable automatic updates.
- Bugfix: Include all available contact forms in the drop-down filter.
- Style table columns in the admin index view.
- Include entry subject in the admin index view.
- Enable quick preview of entry content from the admin index view.
- Enable automatic updates via the Envato WordPress Toolkit plugin.
- Support for Contact Form 7 version 3.9.
- Add entry export functionality.
- Add support for localization.
- Add Latvian translation.
- Simplify the readme file.
- Initial release.
Icon “Happy” by sandra under Creative Commons.