Create New Webform
This page shows how to create a form, from a template or from scratch, add fields, and test it before visitors use it.
Starting From a Template
Go to Structure \ Webforms and open the Templates tab (
/admin/structure/webform/templates).Find a template, for example Contact Us, and click Select.
Enter the Title of your form, and click Save.
The new form has the template's fields and emails, ready to change.
Starting From Scratch
Go to Structure \ Webforms and click Add webform.
Enter the Title and, optionally, an Administrative description.
Click Save.
Adding Fields
On the form's Build tab, click Add element.
Search for or choose the field type, such as Text field, Email, Select or Checkboxes.
Fill in the Title (the label visitors see), and tick Required if it must be filled in.
Click Save.
Drag the fields into order, then click Save elements.

Conditions and Validation
Conditions show or hide a field depending on an earlier answer, so visitors see only what applies to them. Open a field's settings and use its Conditions tab. For example, a form can ask for a company name only when the visitor says they are writing on behalf of a business.
Validation checks an answer before the form is sent, such as a valid email address, a number range or a maximum length. It is in the field's settings too.
Both make forms shorter and cleaner, and both are settings, not code.
Main Settings
On the Settings tab you can change, among others:
General: open or close the form.
Form: the submit button label.
Submissions: Submission limit settings, such as one submission per person for a registration or a total for an event with limited places, and Submission purge settings, which delete old submissions after a set number of days. Agree the period with the client and state it in the privacy notice.
Confirmation: the message or page visitors see after submitting.
Emails / Handlers: who is emailed. See Setting up Email Handlers.
Access: who may fill in the form, for example everyone or only logged-in staff, and who may see, edit or delete its submissions. An internal request form can be limited to staff while a contact form stays open to everyone.
Testing the Form
Open the Test tab, fill in the form and submit it.
Check the confirmation, and the emails if any are set up.
Ask a Site Admin to check the test submission under Results and delete it.
Tips
Ask only for what you need; every extra field loses some visitors.
Write labels as plain questions, and use Description for help text.
Do not use the placeholder text as the only label; screen readers may not read it.
Close a form when a campaign or event is over, rather than deleting it and its results.
Last updated