Embed a form on your website

Add your form to your website with a short snippet. People fill it in without leaving your page.

Get the code

Open your form, go to Share, choose how the form shows up under Add to your website, and click Get the code:

  • On your page: show the form on your page
  • Popup: opens from your button or link
  • Slide-in: a button in the corner of every page
  • Full page: fills the whole page

The Share tab with the form’s link, four ways to add it to a website, and its QR code

For On your page, the code looks like this, with your form’s ID:

<div data-wlf-form="frm_yourform"></div>
<script src="https://wlforms.com/embed.js" async></script>

Paste the code into your site

In your website editor, add an embed block where the form should go, paste the code and publish your site. Most builders, like Webflow, Framer, Squarespace and WordPress, call it Embed or Custom HTML.

For Slide-in, paste the code where your site adds code to every page. For Full page, paste it on a new, empty page.

For developers

See Open a form in a popup or slide-in.

esc