# Ability to redirect to multiple thank you page based on form response

**URL:** <https://community.hubspot.com/t/ability-to-redirect-to-multiple-thank-you-page-based-on-form-response/2615>\
**Category:** HubSpot Ideas\
**Tags:** forms\
**Created:** [July 5, 2017, 11:34pm UTC](https://community.hubspot.com/t/ability-to-redirect-to-multiple-thank-you-page-based-on-form-response/2615 "2017-07-05T23:34:09Z")\
**Posts on this page:** 20\
**Page:** 4

<div class="post-metadata">

**Author:** ![wicara](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/wicara/32/101660_2.png) [@wicara](https://community.hubspot.com/u/wicara)\
**Post date:** [October 30, 2020, 4:20am UTC](https://community.hubspot.com/t/ability-to-redirect-to-multiple-thank-you-page-based-on-form-response/2615/61 "2020-10-30T04:20:04Z")

</div>

Any news on this one this is exactly what we need

---

<div class="post-metadata">

**Author:** ![katt](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/katt/32/99782_2.png) [@katt](https://community.hubspot.com/u/katt)\
**Post date:** [December 22, 2020, 11:14pm UTC](https://community.hubspot.com/t/ability-to-redirect-to-multiple-thank-you-page-based-on-form-response/2615/62 "2020-12-22T23:14:07Z")

</div>

I would also love to have this implemente! it is crazy how many times I have needed this and still nothing!

---

<div class="post-metadata">

**Author:** ![Benyamin](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/benyamin/32/104913_2.png) [@Benyamin](https://community.hubspot.com/u/Benyamin)\
**Post date:** [January 11, 2021, 4:51pm UTC](https://community.hubspot.com/t/ability-to-redirect-to-multiple-thank-you-page-based-on-form-response/2615/63 "2021-01-11T16:51:48Z")

</div>

This will help with Facebook/LinkedIn tracking so we can track those effectively as well.  
exactlyyyyyy  
Weeee neeed it ❤  
Regards

---

<div class="post-metadata">

**Author:** ![MC4](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mc4/32/69256_2.png) [@MC4](https://community.hubspot.com/u/MC4)\
**Post date:** [February 8, 2021, 10:36am UTC](https://community.hubspot.com/t/ability-to-redirect-to-multiple-thank-you-page-based-on-form-response/2615/64 "2021-02-08T10:36:35Z")

</div>

Hello,

That would be great to redirect a specific thank you page depending on a completed property.

Example: For a demo request if in the “sector” property, the prospect selects “Industry”, it will be great to send a Thank You page on which the prospect will have the choice to set a time slot in the agenda of the sales representative assigned to Industry sector directly?

---

<div class="post-metadata">

**Author:** ![milliet](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/milliet/32/102498_2.png) [@milliet](https://community.hubspot.com/u/milliet)\
**Post date:** [February 10, 2021, 12:04pm UTC](https://community.hubspot.com/t/ability-to-redirect-to-multiple-thank-you-page-based-on-form-response/2615/65 "2021-02-10T12:04:51Z")

</div>

Are there any updates on this?

---

<div class="post-metadata">

**Author:** ![danielrnorris](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/danielrnorris/32/22768_2.png) [@danielrnorris](https://community.hubspot.com/u/danielrnorris)\
**Post date:** [February 12, 2021, 10:37pm UTC](https://community.hubspot.com/t/ability-to-redirect-to-multiple-thank-you-page-based-on-form-response/2615/66 "2021-02-12T22:37:33Z")

</div>

Yes Form Submission Logic is such an important form feature. Hoping this gets pushed up soon as it is one of the key reasons some clients remain with services like Formstack.

---

<div class="post-metadata">

**Author:** ![TonyGoodrow](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tonygoodrow/32/27794_2.png) [@TonyGoodrow](https://community.hubspot.com/u/TonyGoodrow)\
**Post date:** [February 19, 2021, 8:40pm UTC](https://community.hubspot.com/t/ability-to-redirect-to-multiple-thank-you-page-based-on-form-response/2615/67 "2021-02-19T20:40:47Z")

</div>

Additional flexibitly (complexity) suggestion  
Make the decision tree able to contain more than on variable. In our case the selection of country and what they wanted to do as their next step would combine to determine the redirect location.

---

<div class="post-metadata">

**Author:** ![YiRui\_Chua](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/yirui_chua/32/23766_2.png) [@YiRui\_Chua](https://community.hubspot.com/u/YiRui_Chua)\
**Post date:** [March 1, 2021, 8:48am UTC](https://community.hubspot.com/t/ability-to-redirect-to-multiple-thank-you-page-based-on-form-response/2615/68 "2021-03-01T08:48:25Z")

</div>

Hi! Commenting for a customer here!  
While Ander’s suggestion seem to work, it requires quite a bit of effort and not everyone would be comfortable with coding it out.  
Hence, would really like to see this feature being implmented for users!

---

<div class="post-metadata">

**Author:** ![SMcGarrigle](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/smcgarrigle/32/1529_2.png) [@SMcGarrigle](https://community.hubspot.com/u/SMcGarrigle)\
**Post date:** [March 1, 2021, 1:06pm UTC](https://community.hubspot.com/t/ability-to-redirect-to-multiple-thank-you-page-based-on-form-response/2615/69 "2021-03-01T13:06:42Z")

</div>

In relation to [@anders\_grove](https://community.hubspot.com/t5/user/viewprofilepage/user-id/52525) code, I’ve tried installing a html module into my page and embedding the code but everytime I put the entire code in the module dissapears completely. Can any one help? Where is the code meant to be implemented if it isn’t within a custom HTML module. Has any one got any other ideas to work around this? Essentially I have a form where the answer to one question, regardless of the answer to the others will take a customer to a specific product page.

HELP!

---

<div class="post-metadata">

**Author:** ![VanessaS](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/vanessas/32/89259_2.png) [@VanessaS](https://community.hubspot.com/u/VanessaS)\
**Post date:** [March 9, 2021, 2:30pm UTC](https://community.hubspot.com/t/ability-to-redirect-to-multiple-thank-you-page-based-on-form-response/2615/70 "2021-03-09T14:30:03Z")

</div>

I STRONGLY second this request! HIGHLY important for multiple product/service offerings to be able to track separately and provide the best consumer experience post-submission!

---

<div class="post-metadata">

**Author:** ![milliet](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/milliet/32/102498_2.png) [@milliet](https://community.hubspot.com/u/milliet)\
**Post date:** [March 10, 2021, 11:13am UTC](https://community.hubspot.com/t/ability-to-redirect-to-multiple-thank-you-page-based-on-form-response/2615/71 "2021-03-10T11:13:33Z")

</div>

are there any updaes from hubspot on this? it has been a few years

---

<div class="post-metadata">

**Author:** ![Akix17](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/akix17/32/57633_2.png) [@Akix17](https://community.hubspot.com/u/Akix17)\
**Post date:** [March 23, 2021, 12:45pm UTC](https://community.hubspot.com/t/ability-to-redirect-to-multiple-thank-you-page-based-on-form-response/2615/72 "2021-03-23T12:45:39Z")

</div>

This is a must have! Can’t believe it’s been 3 years and it still hasn’t been included.

The code-based solution is ok, but fails to work in certain embed environments so it is not an ultimate solution.

---

<div class="post-metadata">

**Author:** ![LisaSenecal](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/lisasenecal/32/93635_2.png) [@LisaSenecal](https://community.hubspot.com/u/LisaSenecal)\
**Post date:** [April 14, 2021, 6:54pm UTC](https://community.hubspot.com/t/ability-to-redirect-to-multiple-thank-you-page-based-on-form-response/2615/73 "2021-04-14T18:54:51Z")

</div>

Hoping for an update on this soon!!

We have issues with B2C customers finding out B2B pages and submitting our form which further links to a demo schedule page. It wastes our reps time to filter out these false requests.

Having dynamic thank-you pages or redirects will be a HUGE problem solver as we can direct certain customers to the right place or send them to the right schedule link.

---

<div class="post-metadata">

**Author:** ![milliet](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/milliet/32/102498_2.png) [@milliet](https://community.hubspot.com/u/milliet)\
**Post date:** [April 15, 2021, 8:06am UTC](https://community.hubspot.com/t/ability-to-redirect-to-multiple-thank-you-page-based-on-form-response/2615/74 "2021-04-15T08:06:34Z")

</div>

It’s been 4 years and there is still no fix to this. It’s shocking! its such a simple and basic requirement that a form should provide.

---

<div class="post-metadata">

**Author:** ![SMcGarrigle](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/smcgarrigle/32/1529_2.png) [@SMcGarrigle](https://community.hubspot.com/u/SMcGarrigle)\
**Post date:** [April 16, 2021, 11:09am UTC](https://community.hubspot.com/t/ability-to-redirect-to-multiple-thank-you-page-based-on-form-response/2615/75 "2021-04-16T11:09:39Z")

</div>

So I’ve found a work around for this, create a custom module in Hubspot and use the following code. I don’t know how to link the code without screen grabbing it on here. Inset this code into the custom module, then insert the module into the page you want. This will only redirect based upon the value of one field. you can replicate the ELSE IF section of the code if there are more than 3 options.

To change the code replace where I have put in Capital letters:

NAME1  
NAME2

NAME3

OPTION

These 4 above are up to you to decide and are merely for referencing for the code to work so as long as they are the same above and below then that’s all that matters

WEBSITE1

WEBSITE2

WEBSITE3

These are the web addresses you want the page to re-direct to depending on selection

NAME OF DEPENDENT FIELD

Go to you form and right click on it, click inspect and find out the true name of the value you want to redirect based upon. E.g How\_Much\_Is\_Your\_Budget?

Make sure this is copied exactly how it appears in the inspector.

FIELDVALUE1  
FIELDVALUE2

FIELDVALUE3

Make sure these are copied exactly how it appears in your form for the values is the field we have named above, e.g £1-£2 include the spaces if you have any in the field so it might be £1 - £2

Obviously make sure you update your portal id and form id also at the top where the XXXXX are

 ![41067i70C74C2462F03C7D.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/8/8896e972350f4fa5e728f5c61643564a839438de.png)

---

<div class="post-metadata">

**Author:** ![Cmac11](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cmac11/32/99678_2.png) [@Cmac11](https://community.hubspot.com/u/Cmac11)\
**Post date:** [April 19, 2021, 12:33am UTC](https://community.hubspot.com/t/ability-to-redirect-to-multiple-thank-you-page-based-on-form-response/2615/76 "2021-04-19T00:33:12Z")

</div>

This is a must to have moving forward. Can’t wait for Hubspot to build this functionality into the platform.

---

<div class="post-metadata">

**Author:** ![JackieAnderson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jackieanderson/32/52876_2.png) [@JackieAnderson](https://community.hubspot.com/u/JackieAnderson)\
**Post date:** [May 11, 2021, 9:33pm UTC](https://community.hubspot.com/t/ability-to-redirect-to-multiple-thank-you-page-based-on-form-response/2615/77 "2021-05-11T21:33:25Z")

</div>

4 years later and this is still SO NEEDED!!! Not having this feature is by far the BIGGEST limitation I have with Hubspot. The lack of conditional rules (notifications, redirects) is a HUGE user experience issue for us. Can we send a follow up email in a workflow based on the form? Sure. But wouldn’t it be ideal if we direct them immediately to an appropriate thank you page? We have to use other vendors and create workaround solutions because this seemingly common sense feature doesn’t exist.

---

<div class="post-metadata">

**Author:** ![BHennessy](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/bhennessy/32/84489_2.png) [@BHennessy](https://community.hubspot.com/u/BHennessy)\
**Post date:** [May 26, 2021, 1:52pm UTC](https://community.hubspot.com/t/ability-to-redirect-to-multiple-thank-you-page-based-on-form-response/2615/78 "2021-05-26T13:52:57Z")

</div>

Hi! This is exactly what i’m looking for, any update on this?

---

<div class="post-metadata">

**Author:** ![SMcGarrigle](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/smcgarrigle/32/1529_2.png) [@SMcGarrigle](https://community.hubspot.com/u/SMcGarrigle)\
**Post date:** [May 26, 2021, 1:56pm UTC](https://community.hubspot.com/t/ability-to-redirect-to-multiple-thank-you-page-based-on-form-response/2615/79 "2021-05-26T13:56:28Z")

</div>

I found a work aroud with the code in my comment above

---

<div class="post-metadata">

**Author:** ![BHennessy](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/bhennessy/32/84489_2.png) [@BHennessy](https://community.hubspot.com/u/BHennessy)\
**Post date:** [May 26, 2021, 1:58pm UTC](https://community.hubspot.com/t/ability-to-redirect-to-multiple-thank-you-page-based-on-form-response/2615/80 "2021-05-26T13:58:12Z")

</div>

@SMcGarrigle i’m just looking at your screenshot now 🙂 I’m not great at code etc but sure i can figure it out!

[Previous page](https://community.hubspot.com/t/ability-to-redirect-to-multiple-thank-you-page-based-on-form-response/2615.md?page=3)

[Next page](https://community.hubspot.com/t/ability-to-redirect-to-multiple-thank-you-page-based-on-form-response/2615.md?page=5)
