Hey guys! Today I figured out a way to send form submissions to Basin (a 3rd-party form hosting service) using Webflow’s built-in tools without the need to redirect people to a thank you page. I thought I’d share this for anyone else trying to cope with Webflow no longer accepting form submissions from forms hosted outside of their environment.
If you follow these steps, your forms will work with Basin exactly as they did using the native Webflow form system, including the error and success messages.
- Set-up a Basin (usebasin.com) account and make a form. Get the form’s URL endpoint from Basin’s site. It will look something like this: https://usebasin.com/f/xxxxxxxxxxxxx
Tip: Be sure the “Custom Redirect URL” setting is empty in Basin. If this option is on, the script breaks because Basin will redirect the script to the URL you set.
In Webflow, set the form’s Action parameter to the URL you got in step 1 and set the Method to POST.
Paste the code below into Project Settings > Custom Code > Footer Code. This code will identify any form on your site posting to Basin and submit it via AJAX instead.
Hope you find this helpful!