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
<?php
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:
<?php
$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:
<?php
array_unshift($form['#submit'], 'formsave_save');
?>Downloads
Recommended releases
Development releases
Project Information
- Maintenance status: Actively maintained
- Development status: Under active development
- Downloads: 142
- Last modified: May 10, 2011