githubEdit

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

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.

  • Review submissions regularly and respond to inquiries promptly.

  • Use conditional logic to create streamlined forms that only show relevant fields to each user.

Last updated