Personally… I love to avoid the custom code whenever I can so I’ll add my perspective to this as well.
Here’s how I handle these things…
When the user hits submit, capture that form submit in Make.com via a Webhook. Take the field value the user typed in and append that to a Webhook response.
A Webhook response will redirect the users browser to any url you tell it to.
Here’s the step-by-step:
Create a new Make.com Scenario. Search for and add a “Webhook”.
Copy the url to clipboard.
Open up Webflow. Add a form. Paste the Webhook URL you just copied to your clipboard, into the Action field for you Webflow form.
Toggle the Method to POST (optional, but best approach).
Publish your Webflow site, open it up, add a value to your form and submit it.
Go back to Make and see that your Webhook successfully received the form submit.
(sorry, I’m missing a screenshot of this)
Add another module. Select Webhooks then Webhook response.
Fill out the settings as I’ve shown in the screenshot above.
Tap the “Run once” button.
Go back to your Webflow site and re-submit the form.
I’m using the domain example.com versus webflow.io just to make this walk through more straightforward.
Open up your Make Scenario and you can verify each step very easily.
An approach like this opens the door to a lot of different (and creative) solutions that solve real world problems without ever touching code.
Here’s a link to the shared Webflow project if that helps.