I’m looking for a pointer in the right direction to research this because my GoogleFu just isn’t cutting it.
I’m on EE2 (hopefully to be upgraded to 5 soon…), with Freeform, and I have a form that, based on the value of one of the fields, I want to send the user to one of two different pages after they submit the form.
The form is a “do you qualify” form for a service, if field X is 1, they go to page 1, if field X is 2, they go to page 2.
I’m very new to EE, and web design in general. But the boss gets what the boss asks for!
Hrm- I think to do it properly, you’d need to write a custom extension. Freeform has plenty of hooks, so if you have a bit of PHP I’d consider that route.
If you don’t want to go custom add-on, you might could do something creative on the form return page- which is defined in the form settings. I think you can use the submission id so that on the return, you can display the contents of the form they just submitted.
So- you use a conditional based off of the value of the relevant field- to either redirect or conditionally display content, etc. It’s not quite as clean as an extension, but I think it would work fine.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.