conditional multiple redirects?

User 2608258 Photo


Registered User
1 post

I would like to have a form with a drop down list. Depending on what drop down item is chosen, upon submit, the user will be redirected to a specific page. For instance, if I have 4 items in the drop down: 1-Milk, 2-Eggs, 3-Sugar, and 4-Creamer and the person chooses 3-Sugar, I would like him/her to be redirect to: www.mysite.com/sugar-aint-sweet.html. By the same token, had they chosen say, 1-Milk, upon submit, they would be re-directed to: www.mysite.com/milk-is-good-for-you.html

Is anyone aware how I might accomplish this? If not through the interface, directly modifying the code?

Thank you in advance for your help.

User 187934 Photo


Senior Advisor
20,271 posts

This will require the writing of your own script to handle the process.
here's one quick example that I did a while back.
http://ericrohloff.com/coffeecup/ccforu … doyoulike/
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.