Custom forms¶
The Drupal CMS forms add-on includes a ready-made contact form so your site visitors can easily get in touch with you. You can customize this form, access the submissions, or test it.
You can also create new forms using the same Webform functionality.
Where to find the contact form¶
The contact form is provided by the Forms recommended add-on. Your site template may have this included by default, but if not you can install it. Then:
- The contact form is located at
/contact, and can be found via the Contact link added to the site's main navigation. - You should see a form with fields for name, email, and message.
In the administrative interface the contact form, and its settings, can be found by navigating to Structure > Webforms (/admin/structure/webform)

Change where the form sends email¶
By default, form submissions are emailed to the site's contact email (configured at Configuration > System > Basic site settings (admin/config/system/site-information)).
To change this:
- Go to Structure > Webforms (
/admin/structure/webform). - Locate the Contact form, and choose Settings from the Operations menu.
- Under the Emails/Handlers tab click Edit next to the default email handler to change the email it sends to. Or, choose the Add email option to send to multiple different email addresses.
- Update the To address with the email you want messages sent to.
- Click Save.

Customize the form fields¶
You can add new fields or remove fields you don't need.
- Go to Structure > Webforms (
/admin/structure/webform). - Choose the Build option from the Operations menu next to the Contact form.
- Use the Add element button to add a new field.
- To edit or remove a field, click its Edit or Delete link.

Change the confirmation message¶
- Go to Structure > Webforms (
/admin/structure/webform). - Locate the Contact form, and choose Settings from the Operations menu.
- Under the Confirmation tab, edit the message users see after submitting the form.
- Click Save.

Spam prevention¶
This contact form includes basic spam protection using CAPTCHA and Honeypot.
- CAPTCHA shows a challenge field to prevent bots.
- Honeypot adds a hidden field bots will accidentally fill out.
You can manage the CAPTCHA settings for the form by editing the [captcha] element of the contact form.
View submissions¶
By default, submissions are stored on the site, and can be reviewed.
- Go to Structure > Webforms (
/admin/structure/webform). - Choose the Results option from the Operations menu for the Contact form.
- From here, you can view, download, or delete form submissions.

Learn more about Webform¶
The contact form in Drupal CMS is powered by the Webform module – a powerful tool for managing forms on your site.
With Webform, you can create more than just contact forms. You can build:
- Surveys
- Registration forms
- Newsletter signups
- Feedback and support request forms
It includes features like conditional logic (show/hide fields), email handlers, confirmation pages, and even integrations with external services.
Explore Webform further by navigating to the Structure > Webforms (/admin/structure/webform) section in your admin toolbar and try creating a new form from scratch.
You can learn more about the project at https://www.drupal.org/project/webform, and by reading the documentation.
Additional resources¶
- Webform project (Drupal.org)
- Webform documentation and video tutorials (Drupal.org)