Last updated November 15, 2011. Created on February 16, 2010.
Edited by sillygwailo, CatherineOmega, silverwing, jimbullington. Log in to edit this page.

The Webform Report module allows users to create simple, dynamic reports based on data collected by the Webform module.

To install the module, download the module and add it to your modules directory. Enable it under /admin/build/modules - this module requires the webform module, so you must install and enable the webform module before this module can be enabled.

After the module is enabled, a new node type will be available - called "Webform Report". To create a Webform Report, simply click Create Content, then Webform Report. This process is a little different for Drupal 5 version and the Drupal 6 version.

Creating a Webform Report in Drupal 5

Screenshot of Drupal 5 Create Webform Report

Enter a title for the report and select the webform from which you want to extract a report of submissions. Note: Since webform report "depends" on webform for data, the webform must be created first. Click Next.

Screenshot of Drupal 5 Select Key

The form will now request that you select a "key" field for the report. This is the field that can be used for initial sorting and filtering. Select a field from the drop-down list. Click Next.

Screenshot of Drupal 5 Select Components

The form will then request that you select the components (fields) from the webform that will appear on the report. Click on each field that you want to include. There is also another set of pre-defined components that can be selected to appear on the report as well - such as user, report date and time, ipaddress, and an edit link. Click Next.

Creating a Webform Report in Drupal 6

Screenshot of Drupal 6 Create Webform Report

Enter a title and optionally a description for the report. Click Save.

Screenshot of Drupal 6 Select Webform Report

You must now select the webform from which the report will obtain its data. Note: Since webform report "depends" on webform for data, the webform must be created first.

Screenshot of Drupal 6 Select Key

The form will now request that you select a "key" field for the report. This is the field that can be used for initial sorting and filtering. Select a field from the drop-down list.

Screenshot of Drupal 6 Select Components

The form will then request that you select the components (fields) from the webform that will appear on the report. Click on each field that you want to include. There is also another set of pre-defined components that can be selected to appear on the report as well - such as user, report date and time, ipaddress, and an edit link. Click Update. Click Publish to view the report.

Finding Webform Reports

Screenshot of Webform Report Example

The best place to find webform reports is under Content Management, Content (admin/content/node). You can also attach a menu item to the webform report or link to it since the report is just another node. Note: a webform report will not contain any results under a submission is made under the webform itself.

Editing a Webform Report

In order to edit the settings of a webform report, if you have edit permissions, simply click the Edit tab as you would a normal content node. Under Drupal 5, all of the report settings are immediately available. Under Drupal 6, the settings are separated into a "Configuration" and "Report Criteria" sections. The "Report Criteria" section contains the filter and component selections.

Further Help and Issues

Please post issues with Webform Report in the Issues section of the Webform Report project, not here as a comment.

Looking for support? Visit the Drupal.org forums, or join #drupal-support in IRC.