Skip to main content

Page Builder

What it does​

If you design your CMS pages and blocks in Page Builder, WebForms adds its own group to the Page Builder panel. Drag Form onto the page to show a form there, or Popup Button to add a button that opens a form in a window.

You'll find the group when you edit a page in Content → Elements → Pages (or a block in Blocks) and open Page Builder.

Embed a Form on Any Page2:20Watch on YouTube

Before you start​

  • The form is switched on and published. See Creating forms.
  • Your store uses Page Builder: when you edit a page, Content has an Edit with Page Builder button. Page Builder is the page editor Magento opens by default.

Steps​

Show a form on the page​

  1. Go to Content → Elements → Pages.

  2. In the row of the page, click Select, then Edit.

  3. Click Content to expand it, then click Edit with Page Builder. Page Builder opens full screen.

  4. In the panel on the left, click WebForms to expand the group. It holds Popup Button, Form and Results. This page uses the first two.

  5. Drag Form into a row on the page. If the page has no row yet, drag Row from Layout first. The new element says "Please select a form."

  6. Point to the element and click the gear icon in its toolbar. The Edit Form panel opens.

    Play
    Video: dragging Form from the WebForms group into the row; the new element says Please select a form. With the pointer on the element, clicking the gear icon in its toolbar opens the Edit Form panel. The steps above describe the same actions.
  7. In Form, select your form. The list starts at -- Please Select --, and the panel saves only once a form is selected. When two forms have the same name, each shows its ID, for example Order Feedback (#12).

  8. Click Save at the top of the panel.

The element now shows your form's name above a sketch of a form. The sketch is a placeholder: your real fields appear only on the storefront.

Add a button that opens the form​

  1. Open the page in Page Builder and expand the WebForms group, as in steps 1 to 4 above. Add a row if the page has none.
  2. Drag Popup Button from the WebForms group into a row.
  3. Point to the new button and click the gear icon in its toolbar.
  4. In Form, select the form the button opens.
  5. In Button Text, enter the words on the button, for example Register for a workshop.
  6. In Popup Title, enter a heading for the window. It's optional.
  7. Click Save at the top of the panel.

The button shows your text. In the editor, a small round badge sits on its right edge. The example below also has a Form element above the button.

The WebForms group in the Page Builder panel, and a row with the Request a Callback form element and the Register for a workshop button with its popup badge

Save the page​

  1. Click Close Full Screen, the icon in the top-right corner of Page Builder.
  2. Click Save. The message "You saved the page." appears.

What you should see​

Open the page on your store. The form appears where you put the Form element, with its real fields. The Popup Button shows your button text. Clicking it dims the page and opens the form in a window with a close button.

The form appears and the button opens its window on Luma, Hyvä and Breeze store views, each in that theme's own style.

Limits​

  • Popup Button has no width setting. The WebForms: Button With Popup widget has Popup Width. See Popup and slide-out forms.
  • If the form starts with its own main heading, the window shows that heading and leaves out Popup Title, so the title isn't shown twice. A form made from the Event Registration template is an example.
  • The Form list shows all your forms, including ones that are switched off. A form that is switched off shows "Web-form is not active." on the storefront.
  • Page Builder's preview never shows your real fields. Check the result on the storefront.

Troubleshooting​

  • The element says "Please select a form." You haven't saved a form in it yet. Open it with the gear icon, select the form and click Save.
  • The page shows a different form. Two forms may have the same name. Open the element again with the gear icon: Form shows each such form with its ID, and the ID column of Manage Forms tells you which is yours.
  • The page shows "Web-form is not active." or nothing changes. See Form does not appear on the page and Changes in the builder do not show on the storefront.

What's next​

Applies to WebForms 4Last reviewed October 14, 2026