# conditionnal redirection after form completion

**URL:** <https://community.hubspot.com/t/conditionnal-redirection-after-form-completion/68894>\
**Category:** Lead Capture Tools\
**Created:** [November 9, 2022, 11:59am UTC](https://community.hubspot.com/t/conditionnal-redirection-after-form-completion/68894 "2022-11-09T11:59:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![PBrocart](https://avatars.discourse-cdn.com/v4/letter/p/aca169/32.png) [@PBrocart](https://community.hubspot.com/u/PBrocart)\
**Post date:** [November 9, 2022, 11:59am UTC](https://community.hubspot.com/t/conditionnal-redirection-after-form-completion/68894/1 "2022-11-09T11:59:05Z")

</div>

Hello,

I would like to know if with a hubspot form, we can differenciate the redirected page depending on the value for one attribute.

If

Industrie = A then redirection after completion on LandingPage A

Industrie = B then redirection after completion on LandingPage B

Thanks for your help,  
Regards

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [November 9, 2022, 12:02pm UTC](https://community.hubspot.com/t/conditionnal-redirection-after-form-completion/68894/2 "2022-11-09T12:02:04Z")

</div>

Hi @PBrocart,

HubSpot doesn’t have any out of the box features for this. It can however be achieved with a bit of code. You can find step by step instructions here: [Redirect a HubSpot form to a thank you page based on a form field](https://www.stephanieogaygarcia.com/hubspot-website-development/redirect-a-hubspot-form-to-a-thank-you-page-based-on-a-form-field)

Best regards!
