Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module automatically exports all data from submitted contact forms into a CSV file. It includes all fields, submission details, and supports multi-select fields.

This module provides a simple export operation automatically for messages from each created contact form. It exports all fields and base data about the submission (such as logged in user and date submitted). It also handles fields that allow multiple options to be selected. This module requires Contact Storage.

Installation

To install this module, place it in your modules folder and enable it on the
modules page.

Configuration

There is nothing yet to configure. I would welcome suggestions as to what sort
of configuration would be useful for your various use cases. If you wish to allow roles other than administrators to export form submissions, you should give them the 'Export contact form messages' permission.

How to use this module

Users with the 'Export contact form messages' will find an Export operation in the list of operations on the page containing the list of all contact forms. You can find that at `/admin/structure/contact`.

Alternatives to this module

You can set up individual views using the `Views Data Export` project. Both use the `CSV Serialization` project under the hood. This module differs in that you can allow editors to set up forms and the export functionality will automatically be available, while the Views method requires you set up a view for each newly created form. At the moment the Views method will allow further control over the output (but feature requests are welcome).

Export formats

This module currently supports exports for use in common spreadsheet programs such as Excel, Sheets, Numbers, etc using the CSV format via the CSV Serialization module.

Feedback on this module

Please add issues with feature requests as well as feedback on the existing functionality.

TODO

  • Handle large numbers of submissions with batch processing [completed]
  • Allow control over which columns are exported [completed]
  • Allow export to a file, potentially on a scheduled basis
  • Allow export of new submissions since last export [completed]
  • Give control over default options via config
  • Add unit tests for a variety of field types, quantities of data, and settings

Initial development

Initial development of this module was sponsored by Fat Beehive until mid-2018.

Activity

Total releases
2
First release
Jul 2025
Latest release
11 months ago
Releases (12 mo)
1
Maintenance
Slowing

Releases

Version Type Release date
2.0.1 Stable Aug 4, 2025
2.0.0 Stable Jul 4, 2025