This project is not covered by Drupal’s security advisory policy.

Description

This module allow your to track any form submission on your site. Just enter the form id, and the module start to save all submitted information for this form. Then, you can see submitted information. It can be filtered by form id.

Similar functionality modules

  • Blame - use it to track differences between form submissions.

Main usage scenario

Step 1. Enter the form ids to save submissions: go to the admin/settings/formsave and enter the form id, one per row. See screenshot.

Step 2. Just let the forms to be submitted.

Step 3. Check the submissions on the admin/content/formsave page. See screenshot of the submissions list. See screnshot of the submission.

API

You can use the api function
formsave_save($form, &$form_state, $sid = NULL)
of this module in your own submit handler, to save form submissions programmatically. Just call this function with corresponding parameters.

Otherwise, you can add this function as additional submit handler in your form constructor function:

$form['#submit'][] = 'formsave_save';

In case you want to add this handler through any hook_form_alters(), it would be better add formsave_save() to a head of all submit functions:

array_unshift($form['#submit'], 'formsave_save');

Project information

  • Created by andyceo on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases