How to Redirect a User from your Webflow Form depending on what they Selected

This post will teach you how to redirect users to different pages based on their form selections in Webflow, why you might want conditional redirects, and how to implement this functionality in your website.

TABLE DES MATIÈRES
Ovidiu

How to redirect a user from your Webflow form depending on what they selected

Memberscripts needed: 

  1. https://www.memberstack.com/scripts/redirect-from-dropdown

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.

En savoir plus

Plus de 200 composants Webflow clonables gratuits. Aucune inscription n'est nécessaire.

Voir la bibliothèque

Ajoutez des adhésions à votre projet React en quelques minutes.

Commencer
Qu'est-ce que Memberstack ?

Auth & paiements pour les sites Webflow

Ajoutez des logins, des abonnements, du contenu à accès limité, et plus encore à votre site Webflow - facile et entièrement personnalisable.

En savoir plus
Commencer à construire

Essayez Memberstack et découvrez ce que vous pouvez construire !

Memberstack est 100% gratuit jusqu'à ce que vous soyez prêt à vous lancer - alors, qu'attendez-vous ? Créez votre première application et commencez à construire dès aujourd'hui.