How to embed a form on your website, step by step
Learn how to embed a form on your website: when to embed, link or use a QR code, where to paste the code in your site builder or CMS, and what to test.
On this page
To embed a form on your website, copy the form's embed code and paste it into an HTML or embed block on the page where you want it. Visitors then fill in the form without leaving your site, and their responses land in the same place as responses from the form's link. Here is when embedding makes sense, where the code goes and what to check before you go live.
In short:
- Embed when the form belongs on a page; share the link in messages and emails; use a QR code on paper.
- Paste the code into a block called something like Embed, HTML or Custom code.
- Copy the whole code, so the form can adjust its own height.
- Give the form a wide enough spot and test it on a phone.
- Publish your form after every change: visitors always see the published version.
Embed, link or QR code: which one to use
The same form can be shared three ways, and you can use all of them at once. What changes is where people meet the form.
| Method | Best for | Example |
|---|---|---|
| Embed | Forms that belong on a specific page of your site | A contact form on your Contact page, a sign-up form on a course page |
| Link | Anywhere you can paste a web address | Emails, chat messages, social posts, your profile bio |
| QR code | Printed material and in-person moments | Posters, flyers, table cards, the last slide of a talk |
Embedding keeps people in your site's context: your menu, your branding and the information around the form. A link is quicker to share and opens a clean, full-page form. For printed material, these tips on QR codes for forms cover size and placement.
Where to paste the embed code
Every website builder and CMS has some way to add your own HTML. The name changes, but the idea is the same: a block that accepts code and shows the result on the page.
- Visual website builders: look for an element called Embed, HTML, Code or Custom code, drag it to where the form should appear and paste the code inside it.
- Block-based CMS editors: add a Custom HTML block in the page body and paste the code there.
- Classic text editors: switch to the code or HTML view before pasting, otherwise the code shows up as plain text.
- Hand-coded sites: paste the code into the page's HTML at the spot where the form should be.
Paste it into the page body, not into a site-wide header or footer setting, unless you really want the form on every page. Some builders allow custom code only on certain plans, so check your builder's help pages if you cannot find the block.
Height, width and mobile
The most common problem with embedded forms is height: a fixed box that cuts the form off or adds a second scroll bar inside the page. The embed code from quibby adjusts the form's height on its own, including when a conditional question appears or the form moves to its next page. Copy the whole code, because the part that handles the height has to come along with the rest.
Width is up to your page. The form fills the width of the block you place it in, so a full-width section or the main column works better than a narrow sidebar.
Then check it on a real phone. Answer every question, open the dropdowns, pick a date and make sure the submit button is easy to reach.
Make the embedded form fit your page
An embedded form looks best when it matches the page around it. In the design settings you can change the accent, background, card and text colors, pick a font, adjust the corner radius and alignment, and add a logo or cover image.
- Drop what the page already says: if the page already shows your logo and a heading, you may not need a logo, cover image or welcome screen inside the form.
- Match the background: a background color close to your page's makes the form feel built in.
- Plan the ending: write an ending screen that says what happens next, or send people to a thank-you page on your site after they submit.
Every form also shows a short reminder never to submit passwords and a small Made with quibby note, embedded or not. If your embedded form is a contact form, these contact form best practices will help you keep it short.
Test before you announce it
A few minutes of testing saves you from a form that quietly fails. Before you share the page:
- Submit a test response from the embedded form and check that it appears in your responses.
- Try the page on a phone and in a desktop browser.
- If you set a redirect, make sure it lands on the right page.
- Delete the test response so it does not skew your numbers.
Keep in mind that edits to your form stay in a draft until you publish. Visitors to your site always see the published version, so after changing a question, publish the form again.
How to embed a form with quibby
- Sign in with Google and create your form: start from a ready-made template, describe it to the AI or build it by hand.
- Adjust the design so the colors and font match your website.
- Publish the form.
- Open the sharing options and copy the embed code.
- In your website builder or CMS, add an HTML or embed block where the form should appear and paste the code.
- Save or publish the page, then test it on a phone and in a desktop browser.
Frequently asked questions
Can I embed a form on any website?
You can embed it on any site that lets you add your own HTML to a page. If your builder has no embed or custom code block, share the form's link instead, for example behind a button.
Do visitors need an account to fill in an embedded form?
No. Respondents never sign in, whether they open the form on your page, from a link or with a QR code. Only you, as the owner, sign in to build the form and read the responses.
Will I get an email when someone submits an embedded form?
No, quibby doesn't send email notifications of new responses. You read them in the app, in a spreadsheet you can sort, filter and search, and you can export them to CSV or Excel.
Why does my embedded form look cut off?
Usually only part of the code was pasted, or the block has a fixed height set in your website builder. Paste the full embed code again and remove any fixed height on the block.
Can I embed the same form on several pages?
Yes, paste the same code wherever you need it. All responses go to the same form, so if you want to know which page someone used, add an optional question about it.