# Webforms

Varbase includes the **Webform** module, a powerful form-building tool that allows you to create and manage a wide variety of forms, from simple contact forms to complex multi-step surveys.

## Overview

The Webform module provides:

* A drag-and-drop form builder for creating forms without coding.
* A wide range of field types (text, email, select, checkboxes, file upload, etc.).
* Conditional logic for showing or hiding fields based on user input.
* Email notification handlers for sending submissions to designated recipients.
* Submission management for viewing, exporting, and analyzing form responses.
* Integration with content as a block or embedded in pages.

## Professional Business Contact Template

Varbase includes a **Professional Business Contact** webform template that provides a ready-to-use contact form. This template includes:

* Name field.
* Email address field.
* Subject field.
* Message body field.
* Pre-configured email notification handler.

You can use this template as-is or customize it to fit your specific needs.

## Accessing Webform Management

1. Navigate to **Structure > Webforms** in the admin navigation sidebar, or go to `/admin/structure/webform`.
2. You will see a list of all webforms on your site, along with their status and submission counts.

## Webform Tasks

* [Create New Webform](/content-designers/webforms/create-new-webform.md): Build a new form from scratch or from a template.
* [Setting up Email Handlers](/content-designers/webforms/setting-up-email-handlers.md): Configure email notifications for form submissions.

## Displaying Webforms

Webforms can be displayed on your site in several ways:

* **Dedicated page**: Each webform has its own URL (e.g., `/form/contact`) where visitors can access and fill out the form.
* **Block**: Place the webform as a block within Layout Builder or the block layout to embed it on specific pages.
* **Embedded in content**: Reference the webform from a content item's form field to embed it within the content.

## Managing Submissions

To view and manage form submissions:

1. Navigate to **Structure > Webforms**.
2. Click **Results** next to the webform you want to review.
3. You can:
   * View individual submissions.
   * Export submissions as CSV for analysis.
   * Delete submissions.
   * View submission analytics and statistics.

## Tips

* Start with the Professional Business Contact template and customize it, rather than building a form from scratch.
* Test your form thoroughly before making it available to visitors. Submit test entries to verify that all fields, validations, and email handlers work correctly.
* Set up email handlers to ensure you receive notifications of new submissions. See [Setting up Email Handlers](/content-designers/webforms/setting-up-email-handlers.md).
* Review submissions regularly and respond to inquiries promptly.
* Use conditional logic to create streamlined forms that only show relevant fields to each user.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.varbase.vardot.com/content-designers/webforms.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
