Different thank you pages on web form based on field snippet input

Hi guys,

We’re trying to send people on the following page to different pages based on whether they’re male or female.

I tried to add the following code, which is supposed to do the trick, to the site page and the web form, but neither worked.

If anyone could give me some pointers on how to get this up, I would really appreciate it.

Thanks,

Hey Todd! So, for redirect code like this to work, you should embed it on the Thank You page that they see AFTER submitting the form.

As the page loads, it should use the information selected on the prior page, and automatically redirect to the appropriate URL based on the input provided.