Core Forms
WordPress forms with payments, digital products and spam protection.
Embed Core Forms in Bricks layouts with a native element and pull submitted values into Bricks templates with a dynamic data token. Polls and Core Commerce products have Bricks elements too.
Element name: core-forms-form
Class: Core_Forms\Builders\BricksFormElement
Source: src/builders/class-bricks-form-element.php, src/builders/class-bricks-elements.php, src/builders/class-builder-integrations.php
The elements and token come from the Elementor and Bricks module under Core Forms → Modules (Platform group). The module is on by default from 5.1.0, and 5.0 sites where nobody switched it off get it turned on once when they update. If Core Form is missing from the Bricks elements panel, check that the module is on there, or run wp core-forms module enable page_builders. With the module on, the element and token register by themselves whenever Bricks is active.
The Core Forms category also holds these elements. Each one renders through the same shortcode as its block, so output, assets and access rules match.

| Element | Name | Shows when | Controls |
|---|---|---|---|
| Core Poll | core-forms-poll | Polls module is on | Poll; Show results only |
| Product Catalog | core-forms-product-catalog | Core Commerce is on | Product type, number of products, order by, order, columns |
| Product List | core-forms-product-list | Core Commerce is on | Same as the catalog, plus Hide prices |
| Single Product | core-forms-product | Core Commerce is on | Product; plan (empty shows all plans); Hide description, Hide version |
| Product Price | core-forms-product-price | Core Commerce is on | Product and plan, both required |
| Product Buy Button | core-forms-buy-button | Core Commerce is on | Product and plan, both required; button text |
| Product Checkout | core-forms-checkout | Core Commerce is on | Product and plan (leave both empty on a shared checkout page) |
| Customer License Dashboard | core-forms-customer-portal | Core Commerce is on | None; the builder shows a placeholder, the published page shows each visitor’s own licenses and orders |
| Product Gallery | core-forms-product-gallery | Core Commerce is on | Product, columns |
Elements that need a product or plan show a placeholder in the builder until one is chosen. The plan list shows each plan as “Plan (Product)”. If the plan belongs to a different product, the builder says so and the live page renders nothing for that element. Poll and Core Commerce styles load in the page head on published Bricks pages, the same way form styles do. The pickers only query the database inside the builder, so they add no queries to published pages.
Open a page in Bricks and search for Core Form in the elements panel (Core Forms category; it also matches “form”, “contact”, “newsletter” and “survey”, in English and in the site’s language). Drag it into the layout and pick a form. Fields, emails and actions are still managed under Core Forms; the element places and styles a form.

Until a form is selected, the builder canvas shows a placeholder and the live page renders nothing for that element.
| Control | Type | Description |
|---|---|---|
| Form | Select (searchable) | Any Core Forms form, by title |
| Show form title | Checkbox | Prints the form’s title at the top of the form, aligned with the fields |
| Title tag | Select | h2–h6 or p (default h3), shown when the title is on |
| Form theme | Select | Empty uses the form’s own setting; Load the form theme forces it on; Use my Bricks styles only turns it off for this placement, in the builder canvas and on the live page |

The theme choice changes only this placement; the form’s saved setting is untouched.
The Colors, Fields and Submit button controls set the form theme’s CSS variables on the rendered .cf-form, so focus rings, hover states and checkbox colors follow your choices. They need the form theme loaded. Typography controls style the elements directly and work either way.
| Group | Controls | Sets |
|---|---|---|
| Form layout | Max width, Space between fields | --cf-max-width, --cf-spacing |
| Colors | Accent (focus, checkboxes, button), Text, Help text, Form background | --cf-brand + --cf-focus, --cf-text, --cf-text-soft, --cf-bg |
| Labels | Typography | font on labels and legends |
| Fields | Background, Border color, Border width, Corner radius, Height, Typography | --cf-input-bg, --cf-border, --cf-border-width, --cf-radius, --cf-input-height, font on inputs, selects and textareas |
| Submit button | Background, Hover background, Text color, Corner radius, Width (fit text / full width), Typography | --cf-button-bg, --cf-button-hover, --cf-button-text, --cf-button-radius, --cf-button-width, font on the submit button |
| Messages | Success, Error | --cf-success, --cf-error |
Inside the element, the focus ring and button glow are derived from the accent and button colors, so a red accent gets a red glow rather than the theme’s default blue.
Bricks’ standard controls (spacing, background, border, width and so on) still apply to the element’s wrapper. The element fills its column by default, like Bricks’ own Form element.
Core Forms finds Core Form elements in the page’s Bricks content, its active templates (header, footer, content and popups) and section templates they embed, and loads exactly the styles and scripts those forms need in the page head. In the builder, the form styles load in the canvas so the preview matches the live page.
{cf_submission:field} Dynamic TokenCore Forms registers a Core Forms submission field dynamic tag (group: Core Forms). Use it anywhere Bricks accepts dynamic data:
{cf_submission:email}
{cf_submission:name}
{cf_submission:any_field_name}
The part after the colon is the field’s name attribute (letters, numbers, hyphens, and underscores).
The token renders the matching value from a submission object supplied by the cf_bricks_dynamic_submission filter:
add_filter( 'cf_bricks_dynamic_submission', function ( $submission, $post, $context ) {
return cf_get_submission( 123 ); // your logic for picking the submission
}, 10, 3 );
This is intended for building submission detail templates, confirmation views, and similar layouts where your code decides which submission is in context.
[cf_form] shortcode and the Core Forms block, so validation, conditional fields, and actions behave identically.cf_bricks_dynamic_submission filter is returning a submission for that context, or the field name in the token doesn’t match the form field’s name attribute.Still stuck? Open a support ticket