Skip to main content

Button field

What it does​

A Button on the form opens a link when the visitor clicks it, for example your contact page or a care guide. It doesn't send the form, doesn't check the fields and collects no answer. Opening a link is all it does.

You find Button in the builder's left panel, in the Content group, and add it by dragging it onto the form, as described in Adding fields and sections.

Add Headings and Notes to a Form2:16 · starts at 1:10Watch on YouTube

When to use​

  • Use a Button to point visitors somewhere else for help, for example Need help choosing? Contact us.
  • To send the form, use the form's Submit Button. A Button can't send it.

Settings​

Go to Content → WebForms → Manage Forms, click the form's name, then click Form Builder. Click the button on the form. Its settings show in the right panel, on the tabs General and Appearance. You'll change these settings most often:

  • Button Text is the words on the button. Type plain text: see Limits.

  • Link URL is where the button goes. Enter a full address that starts with https:// or http://, or a page of your store that starts with /, such as /contact/.

  • Open in New Tab opens the link in a new browser tab. Screen readers then also announce "(opens in a new tab)".

  • Button Style (Primary, Secondary or Outline) and Button Width (Theme Default, Auto or Full Width) are on the Appearance tab.

  • Alignment (Appearance tab) places the button Left, Center or Right. It starts at Left. When only buttons and the CAPTCHA follow it in its section, the button moves to that edge of the row, next to a Submit Button with the same alignment.

  • Size (Same as Submit, Normal, Large or Extra large) and Button Color are on the Appearance tab too. Left as they are, the button takes the size of the form's Submit Button, and a Primary button takes its color as well, so the two buttons match. Pick a size or a color to set this button apart. Button Color fills only a Primary button.

    Three buttons on a Luma form: Talk to a designer and Request a quote in the Submit button's size and color, See fabric samples larger and green
  • Label (admin only) names the element in the builder. Visitors don't see it.

The table below lists every setting. Visitors get a change after you click Publish Changes in the builder's top bar.

All settings of this field
Setting Where in the panel Values Translatable
Enable Element General → Basic On or off No
Label (required) General → Basic Text Yes
Button Text General → Element Settings Text Yes
Link URL General → Element Settings Text Yes
Open in New Tab General → Element Settings On or off No
Desktop Appearance → Layout Width: Full (1/1), Half (1/2), Third (1/3), Quarter (1/4), Fifth (1/5), Sixth (1/6), 2/3, 3/4, 2/5, 3/5, 4/5, 5/6; New row: on or off No
Tablet Appearance → Layout Width: Full (1/1), Half (1/2), Third (1/3), Quarter (1/4), Fifth (1/5), Sixth (1/6), 2/3, 3/4, 2/5, 3/5, 4/5, 5/6; New row: on or off No
Mobile Appearance → Layout Width: Full (1/1), Half (1/2), Third (1/3), Quarter (1/4), Fifth (1/5), Sixth (1/6), 2/3, 3/4, 2/5, 3/5, 4/5, 5/6; New row: on or off No
Button Style Appearance → Style Primary, Secondary, Outline No
Button Width Appearance → Style Theme Default, Auto, Full Width No
Alignment Appearance → Style Left, Center, Right No
Size Appearance → Style Same as Submit, Normal, Large, Extra large No
Button Color Appearance → Style Text No
Container Classes Appearance → CSS Text No
Input Classes Appearance → CSS Text No
Inline Style Appearance → Advanced Text No

Validation​

The button has no checks. It isn't sent with the form: it doesn't appear in the submission, in notification emails or in PDF documents.

Logic​

  • Show or hide this element: yes, with a rule on the logic board. Once a rule controls it, the element's panel gets a Logic tab that lists the rule. See Show or hide fields.
  • Start a rule: no.

Limits​

  • Only web addresses work. A Link URL that doesn't start with https://, http:// or a single / makes a button that goes nowhere. That includes an address typed without https://, such as www.example.com, and javascript: code: the button can't run a script.
  • Button Text is shown exactly as written. HTML tags in it work on your store, including scripts, although the builder shows them as text. Only people you trust with your storefront's code should edit forms. See Safe HTML.
  • The look follows your theme's buttons. With the Modern field style, Primary is filled like a Primary Submit Button, Secondary is white with a neutral border like a Secondary Submit Button, and Outline is transparent with a border in the accent color. Without the Modern style, Secondary takes the theme's default button and Outline has a transparent face with a border in the text color. Full Width stretches the button across the form on Luma and Hyvä. The Dark color scheme leaves the button colors as they are.

Troubleshooting​

  • Clicking the button does nothing. The Link URL doesn't start with https://, http:// or /. Enter the full address.

What's next​

Applies to WebForms 4Last reviewed November 24, 2026