Before you start: the form must be published. An embedded form that isn’t live shows the same
closed message as its hosted page. See Publish and share.
Get the embed code
1
Open the Share tab
Go to Contacts > Forms, open the form and select the Share tab.
2
Open the embed code
Under Embed code, select Get embed code.
3
Choose a variant and a layout
Pick Script, Plain iframe or HTML only. For the first two, choose a Layout.
4
Copy it into your page
Copy the snippet and paste it into your page’s HTML where the form should appear. For your
website builder, see the install guides below.
Choose a variant
Script
data-brudcast-form attribute and puts the form inside it.
One
script tag serves every form on the page. To show two forms, add two div elements and keep
one script tag.
If your page adds the div after it has loaded, for example in a single page app or a modal,
call window.BrudcastForms.mount() once the div is in the page.
When the form redirects after submitting, the whole page goes to your redirect address, not just
the frame.
Plain iframe
?layout=condensed or ?layout=horizontal to the src for another layout. The height
doesn’t change with the form, so set it to fit. On a narrow screen a visitor may scroll inside the
frame.
HTML only
HTML only is a plain<form> with no styling. It posts to Brudcast, and the visitor lands on
your thank you page or your redirect address.
- Change the markup and add classes as you like, but keep each input’s
name. A checkbox question repeats its name once per option. - A consent checkbox counts as ticked with any value.
- A birthday is typed as
MM-DD.M-D,MM/DDandMM.DDare accepted too. - There’s no bot challenge, so the form relies on the hidden field, the time check and the hourly cap. It shares the hourly cap with the hosted page.
- The variant isn’t offered for forms with file uploads, addresses, grids or layout items such as section breaks and images, because a plain form can’t carry them.
- Errors aren’t shown next to each input. A refused submission goes back to the form’s hosted page, where the visitor can try again.
Choose a layout
The Script and Plain iframe variants offer three layouts.
Horizontal is offered only for forms with three questions or fewer, which suits a footer or a
sidebar newsletter box.
Prefill answers
A question can take its first value from the address of the page the form is on. Open the question on the Questions tab and enter a name in Fill from the link, such asplan. A link ending in
?plan=pro then fills that answer in when the form opens.
For an embedded form the value sits in your own page’s address, so the script has to pass it on.
For privacy, the script only passes on:
- every
utm_parameter, such asutm_sourceandutm_campaign - the names you list in
data-prefillon thescripttag
Install on your site
Google Tag Manager
WordPress
Shopify
Webflow
Wix
Squarespace
Troubleshooting
Nothing appears where the form should be
Nothing appears where the form should be
Why: the
script tag was removed, the site builder stripped it, or the div was added
after the page loaded. Fix: check both lines are in the page. If your builder strips
scripts, use Plain iframe. If the div is added later, call
window.BrudcastForms.mount() after adding it.The form is cut off or has a scroll bar
The form is cut off or has a scroll bar
Why: a Plain iframe has a fixed height. Fix: raise the
height, or switch to
Script, which sizes the frame to the form.Prefilled answers are empty
Prefilled answers are empty
Why: the parameter isn’t a
utm_ one and isn’t listed in data-prefill, or the value
doesn’t fit the question. Fix: add the name to data-prefill on the script tag, and
check the value matches one of the question’s options.HTML only submissions are refused
HTML only submissions are refused
Why: the hidden field or the line of script was removed, or an input was renamed.
Fix: copy the snippet again from Get embed code and restyle it without changing the
names.
Related
Popups
Show a form as a popup, slide in or banner.
Publish and share
Share the hosted link or a QR code.
Submit from your code
Send answers from your own server instead.
Submissions and responses
The spam checks every submission passes.