How Do I Embed a Form in Webflow?

If you’re using Webflow, embedding a form is a breeze. Forms are an essential element for gathering information from your website visitors, whether it’s for a contact form, a survey, or a lead generation form. In this tutorial, we’ll walk you through the steps to embed a form in Webflow.

Step 1: Create Your Form

To embed a form in Webflow, you first need to create your form using an external service like Google Forms or Typeform. These services provide an easy-to-use interface for designing and customizing your form.

Google Forms

If you choose to use Google Forms:

  • Create a new Google Form: Go to forms.google.com and sign in with your Google account.
  • Edit the form: Customize the questions and options according to your requirements.
  • Publish the form: Click on the “Send” button at the top-right corner of the screen and choose “Embed.”
  • Copy the embed code: Copy the provided HTML code snippet.

Typeform

If you prefer using Typeform:

  • Create a new Typeform: Sign in to your Typeform account or create one if you don’t have it already.
  • Edit the form: Customize the questions and design of your form as per your needs.
  • Publish the form: Click on “Share” at the top-right corner of the screen and choose “Embed.

Step 2: Add the Embed Element in Webflow

Once you have your form’s embed code, it’s time to add it to your Webflow project:

  • Login to Webflow: Sign in to your Webflow account and open your project in the Webflow Designer.
  • Select the page: Choose the page where you want to embed the form.
  • Add an Embed element: Drag and drop an Embed element from the Elements panel onto your page.
  • Paste the embed code: Double-click on the newly added Embed element, and paste the embed code into the HTML Embed Code field that appears.

Step 3: Customize Your Form

Now that you’ve embedded your form, you can customize its appearance to match your website’s design:

CSS Styling

If you’re familiar with CSS, you can apply custom styles to your form using Webflow’s built-in styling options or by adding custom CSS classes. This allows you to change colors, fonts, button styles, and more.

Layout and Positioning

To position and layout your form precisely on the page, you can use Webflow’s visual layout tools like Flexbox or Grid. These tools make it easy to align elements and create responsive designs that adapt well on different devices.

Step 4: Publish Your Website

The final step is to publish your website so that visitors can see and interact with your embedded form. Click on “Publish” in the top-right corner of the Webflow Designer, and follow the instructions to publish your website to a custom domain or Webflow’s subdomain.

That’s it! You’ve successfully embedded a form in Webflow.

Now visitors can fill out your form directly on your website, and you can collect their responses effortlessly. Remember to test your form after embedding it to ensure everything is working correctly.

Happy form building!