Core Forms
WordPress forms with payments, digital products and spam protection.
This guide walks you through creating a form, adding fields, and testing it — from start to finish.
Watch the full template-to-published-form workflow, then use the detailed steps below.

In your WordPress admin, go to Core Forms > Add New.
The Pick a starting point gallery lets you search, filter by category, and choose a Single page or Multi-step layout. Click Use this template to create a form from a sample, or Start blank for an empty form. You can change the form title in the editor.
After creating the form, you land on the form editor. The editor has tabs for fields and form configuration. Common sections include:
| Tab | Purpose |
|---|---|
| Fields | Build your form using the Visual Builder or Code Editor |
| Messages | Customize success, error, and validation messages |
| Settings | Configure submissions, spam protection, scheduling |
| Actions | Set up email notifications, autoresponders, webhooks |
| Submissions | View and manage responses to this form |
The Fields tab is active by default. This is where you build your form.
The Visual Builder is the default editing mode. It provides a drag-and-drop interface for adding and arranging form fields.
The Fields tab is split into three areas:
To add a field, you have two options:
Available field types:
| Field Type | HTML Element | Use Case |
|---|---|---|
| Text | <input type="text"> |
Names, subjects, short answers |
<input type="email"> |
Email addresses | |
| Textarea | <textarea> |
Messages, long-form responses |
| Dropdown | <select> |
Predefined choices |
| Checkbox | <input type="checkbox"> |
Multiple selections, consent |
| Radio | <input type="radio"> |
Single selection from options |
| Number | <input type="number"> |
Quantities, ages, ratings |
| Phone | <input type="tel"> |
Phone numbers |
| URL | <input type="url"> |
Website addresses |
| Date | <input type="date"> |
Dates and appointments |
| Hidden | <input type="hidden"> |
Tracking data, internal IDs |
| File Upload | <input type="file"> |
Documents, images (extension) |
| Submit | <button type="submit"> |
Form submission button |
| HTML | Any HTML | Custom content, headings, text |
Drag any field in the canvas to move it to a new position. A blue insertion line shows where the field will land when you drop it.
Click any field in the canvas to select it. The Field Inspector on the right shows editable properties:
name attribute. This is the key used in submission data and email variables (e.g., [your-name]). Automatically generated from the label, but you can customize it.Some field types have additional properties:
Select a field in the canvas and click the trash icon in the Field Inspector, or press the Delete key.
Click the Code tab in the toolbar above the canvas to switch to the Code Editor. This gives you direct access to the form’s raw HTML.
Core Forms stores forms as plain HTML. The Visual Builder generates HTML from fields; the Code Editor lets you write or edit that HTML directly. The two modes stay in sync — changes in one are reflected in the other.
<p>
<label for="name">Name</label>
<input type="text" name="name" id="name" placeholder="Your name" required />
</p>
<p>
<label for="email">Email</label>
<input type="email" name="email" id="email" placeholder="you@example.com" required />
</p>
<p>
<label for="message">Message</label>
<textarea name="message" id="message" rows="5" placeholder="How can we help?" required></textarea>
</p>
<p>
<button type="submit">Send Message</button>
</p>
name attribute. This is how Core Forms identifies the field in submissions and email variables.required to make fields mandatory. Core Forms validates required fields server-side.<p>, <div>, or any block element. The wrapper tag is configurable in global settings.<fieldset> and <legend>, <div> grids, etc.<form> tags. Core Forms wraps your markup in a <form> element automatically.<button type="submit">.Show or hide fields based on other field values using data-show-if and data-hide-if attributes:
<p>
<label>How did you hear about us?</label>
<select name="source">
<option value="">Select...</option>
<option value="search">Search engine</option>
<option value="social">Social media</option>
<option value="referral">Referral</option>
<option value="other">Other</option>
</select>
</p>
<!-- This field only appears when "other" is selected -->
<p data-show-if="source=other">
<label for="source_other">Please specify</label>
<input type="text" name="source_other" id="source_other" />
</p>
You can use template variables in your form HTML that are replaced with dynamic values:
<!-- Pre-fill with the logged-in user's email -->
<input type="email" name="email" value="{{user.email}}" />
<!-- Include the current page URL -->
<input type="hidden" name="page_url" value="{{post.url}}" />
<!-- Capture a URL parameter -->
<input type="hidden" name="campaign" value="{{url_params.ref}}" />
Available variables:
| Variable | Output |
|---|---|
{{user.email}} |
Logged-in user’s email address |
{{user.first_name}} |
Logged-in user’s first name |
{{user.last_name}} |
Logged-in user’s last name |
{{post.ID}} |
Current post/page ID |
{{post.title}} |
Current post/page title |
{{post.url}} |
Current page URL |
{{url_params.KEY}} |
Value of ?KEY=value in the URL |
When you create a new form and open the Visual Builder, you can start from a pre-built template instead of a blank canvas. Click the template selector in the toolbar to choose from:
| Template | Fields Included |
|---|---|
| Blank | Empty form — start from scratch |
| Contact | Name, email, subject, message, submit |
| Feedback | Rating, category, comments, submit |
| Newsletter | Email, first name, subscribe button |
| Support | Name, email, priority, department, description, submit |
| Event Registration | Name, email, phone, number of guests, dietary needs, submit |
Templates provide a starting point. After selecting one, you can add, remove, or modify any field.
Click the Save Changes button at the bottom of the form editor (or at the bottom of any tab). The form is saved as a WordPress post of type core-form.
After saving, notice the form’s slug in the editor. The slug is auto-generated from the title (e.g., “Contact Form” becomes contact-form) and is what you use to embed the form.
The slug is a URL-safe identifier for your form. You will use it when embedding the form with shortcodes or the Gutenberg block. Some tips:
contact, newsletter, job-application.Before testing, you probably want to receive submissions via email. Switch to the Actions tab:
[subject] or [name]. – Message: The email body. Use [all:label] to include all form fields with their labels, or reference individual fields like [name], [email], [message].Example email configuration:
To: admin@example.com
Subject: New contact form submission from [name]
Message: You received a new message:
[all:label]
Reply to this person at [email].
Before embedding the form on a live page, test it with the built-in preview:
After submitting the test form, go back to the form editor and click the Submissions tab. You should see your test submission listed with:
Click a submission to view full details, reply via email, or delete it.
This <noscript> message is built into every form. It only appears when JavaScript is disabled in the browser. Core Forms requires JavaScript for AJAX submission. If you see this while testing, check that your browser has JavaScript enabled.
Make sure every field has a unique name attribute. Fields without a name attribute are not included in the submission data.
The Visual Builder requires the WordPress admin JavaScript environment. If it does not load, check for JavaScript errors in your browser console (F12 > Console tab). Conflicts with other plugins that load heavy JavaScript on admin pages are the most common cause.
wp_mail() is often filtered by hosting providers.
Still stuck? Open a support ticket