Throttle Builder · Components · Commerce

Contact form

A contact form saved in Throttle (Forms). It works without JavaScript; with it, the shopper stays on the page and sees the success message. "Email to" is written by the Builder to the form (notifyAppOwner), the same way the redirect page is written to its redirectUrl; the widget never holds or shows an address.

The Contact form component in the Components library, with its description and settings
The Contact form component in the Components library, with its description and settings

What it is for

A contact form whose submissions are saved in Throttle and emailed to the store owner. Use it on a Contact page.

  • Your email address is never in the page; Throttle sends the message. The form can also email custom addresses that you set.

Where you can use it

On any page, template, saved section, header or footer.

In the editor, open the Add tab of the left panel and drag it into a column. Its type is commerce.contact-form, version 1.

Options

Content tab

OptionKeyAllowed valuesDefault
FormformText, up to 64 characters.Empty
Email torecipientStore owner (owner), Custom addresses (custom).Store owner (owner)
Show nameshowNameOn or off.On
Name labelnameLabelText, up to 100 characters. One value per language.Empty
Name placeholdernamePlaceholderText, up to 100 characters. One value per language.Empty
Name is requirednameRequiredOn or off.Off
Show emailshowEmailOn or off.On
Email labelemailLabelText, up to 100 characters. One value per language.Empty
Email placeholderemailPlaceholderText, up to 100 characters. One value per language.Empty
Email is requiredemailRequiredOn or off.On
Show phoneshowPhoneOn or off.Off
Phone labelphoneLabelText, up to 100 characters. One value per language.Empty
Phone placeholderphonePlaceholderText, up to 100 characters. One value per language.Empty
Phone is requiredphoneRequiredOn or off.Off
Show subjectshowSubjectOn or off.Off
Subject labelsubjectLabelText, up to 100 characters. One value per language.Empty
Subject is requiredsubjectRequiredOn or off.Off
Subject options (comma separated)subjectOptionsText, up to 600 characters. One value per language.Empty
Show messageshowMessageOn or off.On
Message labelmessageLabelText, up to 100 characters. One value per language.Empty
Message placeholdermessagePlaceholderText, up to 100 characters. One value per language.Empty
Message is requiredmessageRequiredOn or off.On
Show consent checkboxshowConsentOn or off.Off
Consent textconsentLabelText, up to 200 characters. One value per language.Empty
Consent is requiredconsentRequiredOn or off.On
Submit labelsubmitLabelText, up to 60 characters. One value per language.Empty
Success messagesuccessMessageFormatted text, up to 2,000 characters. One value per language.Empty
Go to this page after sending (instead of the message)redirectA link to a page, product, collection, category, a search, or a web address.Empty
Error messageerrorMessageText, up to 300 characters. One value per language.Empty

Every component also has the common options: Hide, Anchor, Space above, Space below, Entrance animation and Entrance delay.

Responsive behaviour

Every option can be set again for tablet (768 to 1024 px) and phone (767 px and below): switch the device at the top of the editor and change it there. Tablet starts from the desktop value and phone from the tablet value, so you only set what differs.

The fields stack in one column and fill the width of their column on every device.

SEO and accessibility

The server writes a real form that posts to Throttle, so it works without JavaScript. Every field has a label, and a hidden trap field catches spam bots. With JavaScript the shopper stays on the page and sees the success message; the submit button is locked for the first 3 seconds after the page loads.

With an AI agent

An agent adds it with add_widget and changes its options with update_node, using the keys above. See the MCP tool reference.

The widget an agent adds
{
  "type": "commerce.contact-form",
  "v": 1,
  "props": {}
}
Generated from the code
The option tables on this page are generated from the component definitions in @usethrottle/builder-schema 0.4.2 and @usethrottle/storefront-react 0.4.5.