🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!

Gravity Forms Element for Bricks Builder Setup Guide

Updated 6 min read Bricks Builder Integrations A–Z
On this page
  1. Installation
  2. Add a form to a Bricks page
  3. Content tab options
  4. Form
  5. Builder preview
  6. Buttons
  7. Orbital theme colours
  8. Style tab
  9. Query loops and dynamic data
  10. Several forms on one page
  11. Performance
  12. Without an active license
  13. Troubleshooting

The Gravity Forms Element for Bricks Builder adds a native Gravity Form element to Bricks. You pick a form, see the real form inside the builder canvas and style every part of it with Bricks controls: labels, inputs, selects, checkboxes and radios, buttons, validation messages, the progress bar and steps, and the confirmation message. Buttons can use your Bricks theme button styles with one checkbox.

A Bricks page for Harbour Light Yoga with a Gravity Forms booking form in a white card: labels in semi-bold dark text, soft beige inputs with rounded corners, the name and email fields side by side, radio buttons and checkboxes laid out as two-column choice cards, a textarea and a rounded green Reserve my mat button that uses the Bricks theme button style
A Gravity Form styled with the Bricks element controls; the button uses the Bricks theme button style.

This guide covers installation, adding the element, every option in the Content tab, the builder preview states, Bricks button styles, the Style tab groups, the Orbital theme colours, query loops and dynamic data, several forms on one page, performance and troubleshooting.

Requirements

  • WordPress 6.5 or newer, PHP 7.4 or newer.
  • Gravity Forms 2.7 or newer (tested with 2.9 and 3.1).
  • The Bricks Builder theme (or a Bricks child theme).
  • A GravityExtra license key for this add-on.

Installation

  1. Download the add-on zip from your GravityExtra account.
  2. In WordPress go to Plugins → Add New → Upload Plugin, choose the zip and click Install Now, then Activate.
  3. Go to Forms → Settings → Bricks Form Element, paste your license key and click Activate License.

Updates arrive in the normal WordPress updates screen once the license is active.

Add a form to a Bricks page

  1. Edit a page, template or popup with Bricks.
  2. Open the elements panel and search for Gravity Form. It sits in the GravityExtra category.
  3. Drag the element onto the canvas.
  4. In Form, pick the form. The canvas shows the real form straight away.

If no form is selected, the form was deleted or it is inactive, the builder shows a short note in place of the form. Visitors never see these notes.

Content tab options

Form

  • Form: the active Gravity Forms forms, listed by title and ID.
  • Form ID from dynamic data: optional. A dynamic data tag that returns a form ID, for example a custom field per post. When it returns a number it replaces the picker.
  • Show form title and Show form description.
  • AJAX submission: submit without reloading the page.
  • Tab index: the starting tab index, for pages with more than one form.
  • Field values: dynamic population, one parameter=value per line. Dynamic data tags work here, so product={post_title} fills a field whose parameter name is product with the title of the current post.
  • Form theme: Orbital, or the Gravity Forms 2.5 theme, or the form and site default. Forms with legacy markup turned on keep their legacy look and still take every style control.
  • Allow the same form more than once on a page: off by default. Gravity Forms needs unique form IDs on a page, so a second copy of the same form is skipped unless you turn this on.

Builder preview

Some parts of a form only appear after a submission. The Show in the builder option lets you see them in the canvas so you can style them directly:

  • Validation errors: required fields on the first page (or the first two fields) are shown with their error messages and the summary box.
  • Confirmation message: the default text confirmation of the form. If the form redirects, a sample text is shown so you can still style the box.
  • A page of a multi-page form: enter a page number; the progress bar or steps follow.

The preview state only changes the builder canvas. Visitors always get the normal form, and nothing is submitted or saved.

The same Gravity Forms booking form after an empty submission: an orange-bordered summary box saying there was a problem with the submission, labels of the failed fields in dark orange, orange input borders and short orange messages under the name, email and class fields, all styled with the Bricks element controls
Validation summary, error labels, input borders and field messages, all set in the Style tab.

Buttons

Tick Use Bricks button styles and the Submit, Next and Previous buttons get the Bricks button classes, so they look like the buttons set in Bricks → Theme Styles → Button. Choose the Style (primary, secondary, light, dark and the other Bricks colours), Size, Outline and Circle. The Orbital button styles are switched off for these buttons so the theme styles apply untouched. The classes stay after an AJAX validation error and after a page change in a multi-page form.

Orbital theme colours

For forms that use the Orbital theme you can set the accent colour (checked choices and focus), the primary colour (buttons and progress bar), input background, text and border colours, label and description colours, the input size and the input corner radius. These are passed to Gravity Forms as its own style settings, so Orbital works out the lighter and darker shades itself. Use plain colours (hex or rgb) here; Bricks colour variables work in the Style tab controls instead.

Style tab

Every Style tab control writes CSS scoped to this element only, so two forms on the same page can look different. The controls take priority over the Gravity Forms theme styles.

  • Form & layout: background, padding, border, shadow, gap between rows and columns, base typography.
  • Title & description: typography, title margin, space below the heading.
  • Labels: typography, space below the label, required marker colour, sub-labels of name and address fields.
  • Field descriptions & sections: description, section title and HTML block typography, section border.
  • Inputs & textareas: typography, placeholder colour, background, border, padding, height, textarea height, shadow, and focus background, border colour and ring.
  • Selects: typography, background, border and padding.
  • Checkboxes & radios: label typography, checked colour, box size, gap, columns, and choice card background, border and padding.
  • Buttons: typography, background, border, padding, shadow, full width, alignment, hover colours and a separate look for the Previous button.
  • Validation: summary box background, border, padding, typography and shadow; field message typography, background, border and padding; label colour, input border colour and field background on error.
  • Progress bar & steps: title typography, track and fill colours, percentage text colour, bar height and radius, steps typography and the active step colours.
  • Confirmation message: typography, background, border, padding and shadow.
A three-step Gravity Forms membership application in Bricks: step indicators with a green check for Contact, a filled green number for the active step Your plan and an outlined number for Health, membership choices as two-column cards, a select for the home studio and Previous and Next buttons in the Bricks button style
A multi-page form: steps, choice cards and Bricks-styled Previous and Next buttons.

Query loops and dynamic data

The element works inside Bricks query loops. Two common set-ups:

  • One form, different values per item: put the element in the loop and use Field values such as workshop={post_title}. Turn on Allow the same form more than once only if you accept the Gravity Forms limit on repeated forms (conditional logic and AJAX may conflict between copies).
  • A different form per item: store a form ID in a custom field and put its tag in Form ID from dynamic data.

Several forms on one page

Each element keeps its own settings and styles. A newsletter form in the footer, a contact form in the page and a booking form in a popup can all use different themes and button styles.

Performance

The add-on loads the Gravity Forms styles of forms placed with the element in the page head, so the form does not flash unstyled while the page loads. The element itself adds about 1 KB of CSS and no JavaScript. It does not add jQuery; Gravity Forms loads its own scripts as usual.

Without an active license

Forms keep working for visitors. In the builder a note asks you to activate the license, and the preview states and Bricks button styles are paused until you do.

Troubleshooting

  • The element is missing from the panel: check that Gravity Forms and this add-on are active and that the active theme is Bricks or a Bricks child theme.
  • A form does not appear on the page: it may already be on the page in another element (see the repeat option), or it may be inactive. Logged-in editors see a short note explaining why.
  • A style control does not change anything: check that the form has that part (for example steps only show when the form uses steps) and use the builder preview states to show errors, the confirmation or later pages.
  • Buttons do not look like Bricks buttons: make sure Use Bricks button styles is ticked and that your Theme Styles define the button style you picked.

Still need help?

Our support team answers tickets every day, usually within a few hours.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr