O'Reilly logo

Drupal 7 Webform Cookbook by Douglas Vernon Denny

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Creating Submission Actions

In this chapter, we will cover the following topics:

  • Creating a new select component
  • Creating the module
  • Creating a conditional action
  • Adding a menu item
  • Confirming the requested action
  • Updating a submission
  • Sending an e-mail
  • Testing the module

Introduction

The core Drupal system provides a facility called Actions. These can be thought of as a packaged series of tasks that are automatically carried out by the system when triggered, or when required conditions are met. It is a digitized stimulus-response mechanism, if you will. Such automated actions are also referred to as robots.

Webform provides a method for us to add actions that can be triggered from the submission View and Edit pages. An example of such an action ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required