Answers/Can I embed a form in Webflow?

Can I embed a form in Webflow?

Updated March 2026

Yes. Two lines of HTML in a Webflow Embed element.

Open the Webflow Designer, go to your page, drag an Embed element from the Add panel (under Components) to where you want the form. Paste the snippet. Replace YOUR_FORM_ID with your actual form ID from your Sutrena dashboard or API response.

The snippet loads a lightweight script that creates an iframe pointing to your hosted form. The iframe auto-resizes to fit the content -- no scrollbar, no fixed-height problems. The form has a clean, neutral style that works with most designs.

Custom domains? No extra config needed. The embed script detects the parent page's origin automatically for secure postMessage communication. Form submission events (sutrena:submitted) bubble up correctly, so you can listen for them in custom code to trigger analytics or redirects.

Want the form in a modal? Place the embed div inside a Webflow Interaction-triggered modal. The form loads when the modal opens.

You can also add the script in Webflow's Project Settings under Custom Code if you want it loaded site-wide, then just put the div container on specific pages.

Works with both Webflow staging (webflow.io) and custom domains. No CORS configuration on your end.

<!-- Add this to a Webflow Embed element -->
<script src="https://sutrena.com/embed.js" defer></script>
<div data-sutrena-form="YOUR_FORM_ID"></div>

Ready to build?

Get a trial API key instantly — no signup required.

Can I embed a form in Webflow? — Sutrena | Sutrena