Ovidiu
How to redirect a user from your Webflow form depending on what they selected
Memberscripts needed:
Tutorial:
Cloneable:
Why/Use Cases –
- Redirect users to relevant pages based on what they selected inside your form.
- Improve flow UX by automatically taking users to the next relevant step.
Redirecting users from a Webflow form based on their selection
Whether you’ve got an entire flow set up or just want to redirect users to a single relevant page based on a selection they made in a form, we’re going to see how you can use our MemberScript to take users where they need to go.
To redirect users from a Webflow form based on their selection, we’re going to use MemberScript #135 – Redirect Based on Select Value. Follow the link to get the code you’ll need to add to your page and watch a video tutorial on how to set everything up.
Setting it up
Once you’ve created and styled your form, all you need to do is add this attribute to the form’s select field:
· ms-code-dropdown-redirect=””
Now under Select Field settings on the right, for each option in the select field, you need to place the desired URL for that selection in its value field.
Making it work
Now that you’ve got everything set up in Webflow, all you need to do is add the MemberScript #135 custom code to your page, before the closing body tag.
Schlussfolgerung
That’s everything, you can now go ahead and test your form’s redirection on your live site.
If you want to use our demo project to get you started, just click the button below to add it to your Webflow site.
Our demo can help you redirect users from a Webflow form based on what they selected in the form.
Take me to Cloneable!
Fügen Sie Ihrem Webflow-Projekt in wenigen Minuten Mitgliedschaften hinzu.
Über 200 kostenlose, klonbare Webflow-Komponenten. Keine Anmeldung erforderlich.
Fügen Sie Ihrem React-Projekt in wenigen Minuten Mitgliedschaften hinzu.