Form email confirmation

Component ID

1051016

Component name

Form email confirmation

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

11149

Component created

Component changed

Component body

This module provides a system to require anonymous users submitting a form to confirm their action via email.

Anonymous users fill in the form as normal, but upon submitting are sent to a special page and are sent an email. This email contains a link, just like Drupal core's password reminder email. When the user follows the link from the email, the original form values they submitted are then run through the normal form submission process.

A sample module that changes comment forms to require anonymous users to confirm their email is included.

The framework can be used if you are making your own form in module code with FormAPI, as well as with form alteration. The framework consists of a function modelled on system_settings_form; simply pass your completed form to that along with options such as the message to show, page to redirect anonymous users to, etc. A demo module with an example implementation is included.

Related modules

For forms made with webform module, use Webform Confirm Email Address.