How can I make the form on my Webflow website work when I export and publish it on a separate URL?

Published on
September 22, 2023

To make the form on your Webflow website work when you export and publish it on a separate URL, follow these steps:

  1. Set up the form: In Webflow, create your form by dragging and dropping the form element onto your page. Add the necessary form fields and labels.

  2. Configure form settings: With the form selected, go to the right sidebar and click on the "Settings" tab. Enter the email address where you want the form submissions to be sent to. You can also customize the success and error messages here.

  3. Export your website: Once you have finished designing your website in Webflow, go to the top menu and choose "Export". Select the appropriate options for your project and click on "Export".

  4. Publish your website: Upload the exported files to your hosting provider or a server that supports HTML, CSS, and JavaScript. You can use FTP or any other method to transfer the files.

  5. Configure the form action: Open the exported files in a code editor and locate the HTML file that contains your form. Find the <form> tag and add the action attribute. The value of the action attribute should be the URL where you want to submit the form data.

  6. Test the form: Upload the modified HTML file to your hosting provider or server and access the website using the published URL. Fill out the form and submit it to check if the form submissions are being sent to the designated email address.

Additionally, make sure you have a working server-side script or service to handle form submissions. This could be a PHP script, a serverless function, or a third-party service like Zapier or Google Forms.

By following these steps, you'll be able to make the form on your Webflow website work when exported and published on a separate URL.

Example: Let's say you have a Webflow form with the email address field, and you want the form submissions to be sent to example@example.com. After exporting and publishing your website, you can add the following code to your form's <form> tag:

<form action="https://www.example.com/submit-form" method="post">

Make sure to replace "https://www.example.com/submit-form" with the actual URL where you want to submit the form data.

SEO Keywords: Webflow form, export website, publish on separate URL, form action, hosting provider, server-side script, form submission.

Additional Questions:

  1. How do I set up a form submission email in Webflow?
  2. Can I use a form submission service like Zapier with my Webflow form?
  3. How do I customize the success message after a form submission in Webflow?