
Webform is a wonderful Drupal module. We've an introduction to using Webform and a follow-up tutorial on how to send the form results to different email addresses. It is possible to add Webforms to any content on your site. However, by default, you can't use the same form more than once. In this tutorial we'll show you how to re-use a webform whenever you need it. In this example we'll add a "Contact the Organizer" form to all of the events you have listed a your site. 1) Install the modulesWe're going to add need four modules for this task. Install and enable all four of these modules: 2) Create the content type
![]() 3) Configure Webform and Webform Template
![]()
![]() 4) Create a webform
![]()
![]() 5) Create the content
![]()
![]() There one problem with the form as it is: it's not clearly labeled. The form allows people to contact the event organizer, but that's not mentioned anywhere. We're going to use the Field Group module to fix that. 6) Adding a label to the webform
![]()
![]()
![]() Thanks to Cindy McCourt for the tip on this. |

All of our tutorials are published under the Creative Commons Attribution-NonCommercial license. This means:
Open Source Training is not affiliated with or endorsed by the Joomla, WordPress or Drupal projects.
All product names and trademarks are the property of their respective owners.
Copyright 2013 Open Source Training, LLC. All rights reserved.
Comments
Yes, that's definitely one way to do it, although this technique does make it easier for the content creators to choose a form.
Yes the block thing does work unless you want to add some fields that are specific to that node. Or you want the form to be identified with that node using arguments.
This method just saves so much time. Thanks
for example: can I send an email to admin with subject: "Registration for [event title]". ?