To create a dynamic redirect after form submission in Webflow based on user selections like plan and ad spend, you’ll need to use custom JavaScript and possibly route the data to an external subscription service via a redirect URL.
name
attribute (e.g., plan
, adSpend
) so they can be easily referenced with JavaScript.tag, or use a Site-wide Embed if needed.
Example logic:
https://subscription-service.com/pro-high-spend
https://subscription-service.com/basic
Sample JS outline:
document.querySelector('form').addEventListener('submit', function(e) { ... })
e.preventDefault()
FormData
or direct DOM access to get valueswindow.location.href = 'your-constructed-url'
to redirect?plan=pro&spend=500
).Set up a Webflow form that collects Plan and Ad Spend, intercept submission with JavaScript, and use input values to dynamically redirect users to different external subscription URLs based on their selections. This gives you flexible control over redirection behavior while integrating seamlessly with external payment systems.