> For the complete documentation index, see [llms.txt](https://docs.varbase.vardot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.varbase.vardot.com/content-designers/search-forms-and-email.md).

# Search, Forms and Email

Three features connect a site with its visitors: **search** helps them find content, **forms** let them speak to the organisation, and **email** carries messages both ways. Every site needs them and nobody wants to build them from scratch; Varbase ships all three ready.

## What It Is

* **Site search** on **Search API**, with an index in the site's own database (no extra search server). The search page is a Drupal Canvas page with a search box, results and filters by tag, content type and date. See [Site Search](https://docs.varbase.vardot.com/content-designers/search-forms-and-email/site-search.md).
* **Webform**: a form builder with conditions, validation, email handlers, submissions and export, plus ready templates (job application, registration, feedback and more). See [Webforms](https://docs.varbase.vardot.com/content-designers/search-forms-and-email/webforms.md).
* **Easy Email**: a branded template for every email the site sends, such as account activation and password recovery, with an email log. See [Email Templates](https://docs.varbase.vardot.com/content-designers/search-forms-and-email/email-templates.md).

<figure><img src="https://410909369-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBcuWLZ87gvtX5vA2YGD%2Fuploads%2Fgit-blob-2de1d5b726fec446284486c3b29962828c2ad447%2Flearn-17-contact-form-on-page.png?alt=media" alt="The Contact Us page with the Ask Us About Anything form, with fields for first and last name, company name, industry, country, email, phone, subject and message, and a contact information box beside it"><figcaption><p>The Business Contact Form on the Contact Us Page</p></figcaption></figure>

## Why It Matters

* Lead capture and sign-ups on day one, without code.
* What visitors type into search is one of the most honest sources of insight a site has.
* Account emails that look like the brand, in the visitor's language.

## Scenario: Launch a Form Properly

For every form, agree five facts with the client and test them:

1. **Fields**: only what the team will use. Every extra field costs answers, especially on phones.
2. **Who is notified**: an email handler for the organisation and, usually, a confirmation for the visitor. A form with no handler stores submissions and tells nobody.
3. **Where the data goes**: stored in the site, and perhaps sent to a customer database, newsletter service or ticket system (each connection needs setup and testing).
4. **How long it is kept**: Webform can delete old submissions after a set period. Agree it with the client's privacy officer.
5. **Which languages**: labels, help text, errors and the thank-you message, translated.

Then use the form's **Test** tab, submit it on a test site, check both emails in the test mailbox, and delete the test submissions. See [Create New Webform](https://docs.varbase.vardot.com/content-designers/search-forms-and-email/webforms/create-new-webform.md) and [Setting up Email Handlers](https://docs.varbase.vardot.com/content-designers/search-forms-and-email/webforms/setting-up-email-handlers.md).

<figure><img src="https://410909369-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBcuWLZ87gvtX5vA2YGD%2Fuploads%2Fgit-blob-6fa8b1891b7033c1c80471d4c2794a3a964816dd%2Flearn-17-business-contact-build.png?alt=media" alt="The Build tab of the Business Contact webform listing its elements Name, Company name, Industry, Country, Email, Phone number, Subject, Message and an agreement checkbox, with their keys, types and Required checkboxes"><figcaption><p>The Business Contact Form in the Builder</p></figcaption></figure>

{% hint style="warning" %}
On a new Varbase Starter site, the **Newsletter Subscribe** form has no handlers and no newsletter connection: sign-ups are stored, but nobody is told and no address reaches a mailing list. Check every form for this before launch.

The agreement checkbox of the business contact form, **By submitting this form you agree to our Terms of Service and Privacy Policy.**, is the same kind of gap: on a new site the privacy policy page is still a draft and `/terms-and-conditions` does not exist. A form should never ask people to agree to pages they cannot read. See [Security and Privacy](https://docs.varbase.vardot.com/content-designers/security-and-privacy.md#privacy-and-consent).
{% endhint %}

## Questions Clients Ask

* **Can form data go to our CRM or newsletter tool?** Yes, with Webform handlers and connectors. Each connection is a line item: setup, testing and someone to own it.
* **Will search handle Arabic?** Search respects the page's language. Arabic has its own details, such as different forms of the same letter; test with real phrases.
* **Do editors get emails when something waits for review?** Not by default. They can be added with the site's automation tools (see [AI Agents, Answers and Automation](https://docs.varbase.vardot.com/content-designers/ai-in-varbase/ai-agents-answers-and-automation.md)).

## Planning Notes

* Email delivery (a mail service or the organisation's mail server) is a hosting decision. The client's IT team must authorise the site to send on their domain, or emails land in spam.
* List every email the site can send, agree its wording and languages, and test each one before launch.
* For large or multilingual search, consider Solr or AI search. Assumption: database search suits most sites under tens of thousands of items.
* Agree retention and access for form submissions; they hold personal data.
