Forms after leaving Webflow: five options compared

Short answer

Webflow’s help says forms do not work in exported code, so every form needs a new destination. Five options work: a hosted form service, Netlify Forms, a Cloudflare Pages Function, a Vercel Function, and the WebExport webhook relay. Pick by where you host, where you want the messages, and how much code you will maintain.

By WebExport team · Last reviewed

Key facts

  • Webflow’s code export help lists forms as not working once the site is hosted elsewhere.
  • Netlify detects static HTML forms at deploy time and needs data-netlify="true" and a unique name.
  • A static host cannot receive a POST by itself.
  • Exported forms can use the WebExport webhook relay, Formspree, Zapier, Make or a native server endpoint.

The five options

OptionWhat you changeWhere messages landCode to maintain
Hosted form serviceThe form action points at the serviceThe service inbox and emailNone
Netlify FormsAdd data-netlify="true" and a unique name to a static formThe Forms tab of your Netlify siteNone
Cloudflare Pages FunctionPost to /api/contact and write functions/api/contact.jsWherever your function sends themA small function
Vercel FunctionPost to /api/contact in the same projectWherever your function sends themA small function
WebExport webhook relay, Zapier or MakePoint the form at the relay or a webhook URLYour webhook receiver, spreadsheet or toolNone, plus the automation

How to choose

  1. If you host on Netlify, start with Netlify Forms. It needs only attributes on the form.
  2. If you want no code and any host, use a hosted service and paste its URL into the action.
  3. If you need messages in your own database or CRM, write a Function on Cloudflare Pages or Vercel.
  4. If you already use Zapier or Make, send the form to a webhook and let the automation route it.
  5. Whichever you pick, send one real message and check it arrives before you move the domain.

The markup for each option

A plain form that posts to a hosted service needs only the action and method. Replace the form ID with your own.

hosted service
<form action="https://formspree.io/f/your-form-id" method="POST">
  <input type="email" name="email" required>
  <textarea name="message" required></textarea>
  <button type="submit">Send</button>
</form>

Netlify Forms uses the same fields with two attributes and no external address.

Netlify Forms
<form name="contact" method="POST" data-netlify="true">
  <input type="email" name="email" required>
  <textarea name="message" required></textarea>
  <button type="submit">Send</button>
</form>

What can go wrong

  • Webflow’s script keeps handling the submit and sends the data to Webflow. If tests fail, test with that script removed or replace the form block with plain HTML.
  • Netlify does not detect forms that JavaScript draws in the browser, so add a hidden static form with the same name.
  • Headers from the _headers file on Cloudflare Pages do not apply to what a Pages Function returns, so set headers in the function.
  • No spam protection. Add a honeypot field, and check what the service or function offers.

Frequently asked questions

Why do exported Webflow forms stop working?

Webflow collected the submissions on its servers, and Webflow’s help lists forms as not working in exported code. A static host has no server to receive them.

Which option is cheapest?

It depends on each service’s current plan, so check their pricing pages. Netlify Forms and Pages Functions both start from a host you may already pay for.

Can the same form work on any host?

A form that posts to a hosted service works on any host. Netlify Forms works on Netlify, and a Function works on the platform that runs it.

Is there a prompt that does this?

Yes. The forms prompt finds every form, converts the clear cases and writes a test list.

Official documentation

Free tools for this job

Try it on your own site

Paste your public site URL into the export form and download a ZIP of static files. The Free plan covers 1 site, 5 exports a month, 15 pages and 20 MB per export. Professional is a $9.99 one-time purchase with unlimited pages.