Drupal - Contact Module


Advertisements


In this chapter we will study about creating contact form in Drupal. Contact form is used to submit the information of user in Drupal.

Following are the steps to add contact module.

Step (1): Click on Modules menu .

Drupal Contact Module

Step (2): Next, a list of different modules gets displayed. Enable the Contact module and click on Save Configuration as shown below.

Drupal Contact Module

Step (3): Next, go back to the contact module and click on the Configure as shown below.

Drupal Contact Module

Step (4): Here you can view the information of all the categories and you can also add extra contacts. Click on Add Category.

Drupal Contact Module

Step (5): Next, contact form gets displayed as shown below.

Drupal Contact Module

It contains the following fields.

  • Category: Specify the name of the category for feedback form.

  • Recipients: Email address where the mail you wish to receive.

  • Auto-reply: Sends the automatic reply message to the user.

  • Weight: Sets the list in order.

  • Selected: Selecting Yes option, it sets the category as default.

After filling all information about the contact, click on Save button to save your contact form information.

Step (6): Here you can see the created contact form in the list as shown below. To view the contact form, click on Contact form as shown below.

Drupal Contact Module

Step (7):Next, the category which you have added will get displayed in the category field as shown below.

Drupal Contact Module

Advertisements