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

FormCorral provides a simple and effective way to capture form data that can be emailed, downloaded as a CSV, and/or viewed in Drupal's admin interface.

Ideal uses:

  • Capture data for a custom contact form
  • Define custom validation rules
  • Simplify creation of new forms

The goal was to provide an interface that defines a list of fields to capture, what to show if an error occurred (such as a required field), and a set of validation rules, since nothing else seems to provide them in a sane fashion.

Also, since FormAPI will be undergoing changes in the coming months, we wanted something that wasn't exclusively bound to the structure that FormAPI currently exhibits in Drupal 5.1. This way we can extend its functionality to dynamically generate forms once Drupal 6 is released.

The functionality is pretty basic. You define a name for the form, a list of fields that the form should capture (with or without validation), and optionally a list of email addresses to send the output of the form to once it's submitted.

The module also has the ability to override the format of those outbound emails if you have custom formatting that needs to be done. This is handled by way of a set of php files based on the list ID in the 'mailtemplate' folder.

A note to all you module purists: yes, this should go in the theme or in the sites folder. We're aware, and we're trying to find a workable compromise.

Once a form is submitted, it goes into the database as well as (optionally) getting mailed out, so you can get a list of all submissions at any point.

More formal documentation is forthcoming.

Authored by WorkHabit.com

Project information

Releases