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.
Conclusion
That’s everything, you can now go ahead and test your form’s redirection on your live site.
Si vous souhaitez utiliser notre projet de démonstration pour commencer, cliquez simplement sur le bouton ci-dessous pour l'ajouter à votre site Webflow.
Our demo can help you redirect users from a Webflow form based on what they selected in the form.
Take me to Cloneable!
Ajoutez des adhésions à votre projet Webflow en quelques minutes.
Plus de 200 composants Webflow clonables gratuits. Aucune inscription n'est nécessaire.
Ajoutez des adhésions à votre projet React en quelques minutes.