O'Reilly logo

Drupal 7 Development by Example Beginner's Guide by Kurt Madel

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

Time for action — creating a contact form with help text, with the Webform module

We are going to install the Webform module, and use it to create a contact form for our d7dev site.

  1. First, we need to install the Webform module. Open the Terminal (Mac OS X) or Command Prompt (Windows) application, and change to the root directory of our d7dev site.
  2. Use Drush to download and enable the Webform module.
    $ drush dl webform
    Project webform (7.x-3.15) downloaded to /Applications/MAMP/htdocs/d7dev/sites/all/modules/webform.[success]
    $ drush en webform
    The following extensions will be enabled: webform
    Do you really want to continue? (y/n): y
    webform was enabled successfully. [ok]
    

    Now that we have installed the Webform module, we need to create a new Webform-based ...

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