Skip to content

The Quick Start Guide

This guide will walk you through creating your first form with Easy Forms. We'll create a simple contact form to demonstrate how easy it is to get started. First all make sure your've followed and completed the installation guide.

Step 1: Create a Form in Statamic

First, create a form in the Statamic control panel:

  1. Go to Forms in the Statamic control panel
  2. Click Create Form
  3. Give it a name, for example, "Contact Form"
  4. Take note of the auto-generated handle

Step 2: Add Form Fields

Edit your form's blueprint and add some fields.

Step 3: Render the Form

In your template, add the Easy Forms tag wherever you want the form to appear:

antlers
{{ easyform handle="contact_form" }}

That's it! Your form is now rendered and is working just fine!

Step 4: Configure Email Notifications (Optional)

To receive email notifications when someone submits the form:

  1. In the Statamic control panel, go to your form settings
  2. Configure the Email section:
    • Recipient: Your email address
    • Subject: Contact Form Submission
    • From: Configure the sender details
  3. Select the vendor/statamic-easy-forms/emails/form-submission email template.

Step 5: Test Your Form

  1. Visit the page where you added the form tag
  2. Fill out the form fields
  3. Submit the form
  4. Check your form submissions in the Statamic control panel under Forms and your emails for an email containing all data.

That's it!