Send a Webflow form to FormKeep
A Webflow form can post to FormKeep by setting a custom action in its form settings. Your design stays as it is; FormKeep takes the submissions.
What you need
- A Webflow site with a form block.
- A FormKeep form. Create one free; its URL is on the form's Setup tab and looks like
https://formkeep.com/f/YOUR-TOKEN.
Steps
- Create a form in FormKeep and copy its URL from the Setup tab.
- In the Webflow Designer, select the form block.
- In the form's settings, under "Send to", remove the Webflow and email destinations if they are listed. A custom action cannot be combined with them.
- Add a "Custom action" and enter your FormKeep URL as the action, with the method set to POST.
- Publish the site, send a test message and open the form in FormKeep to see it.
The settings
There is no code to paste. These are the values to enter in the form's settings:
Action: https://formkeep.com/f/YOUR-TOKEN
Method: POST
The form behaves as if it were this HTML:
<form action="https://formkeep.com/f/YOUR-TOKEN" method="POST">
<input name="email" type="email">
<textarea name="message"></textarea>
<input type="submit" value="Send">
</form>
What happens on submit
Webflow posts the form to FormKeep like any HTML form, and the visitor is redirected: to the redirect URL set in the form's Redirects tab in FormKeep ("Redirect to your site"), or to FormKeep's own thank-you page if none is set. Webflow's own success and error messages no longer appear once a custom action is set, so use the redirect to send people to your own thank-you page. FormKeep does not send JSON here, because there is no Accept: application/json header on a plain form post.
Troubleshooting
- 404 Not Found. The token in the URL is not a form. Copy the URL again from the form's Setup tab; do not type or guess it.
- 403 with
{"error":"This form is not accepting submissions."}. The form has been switched off. Switch it back on, or use another form.
- Nothing shows in FormKeep and Webflow's form notifications still arrive. Webflow's own handler is still attached, so the post never goes to FormKeep. Check that the Webflow and email destinations are removed and the custom action is set, then publish again; the change only reaches the live site once published.
- The submission arrives but the fields are named oddly. FormKeep stores each field under the name its input has in Webflow. Rename the input in Webflow, publish, and send another test.
- FormKeep answers requests from any origin, so a CORS setting is not the problem. Look at the status of the request in the browser's network tab: a 404 or 403 is the cause.