# Custom Re-Direct based on Form Submissions

**URL:** <https://community.hubspot.com/t/custom-re-direct-based-on-form-submissions/90112>\
**Category:** Lead Capture Tools\
**Tags:** enterprise\
**Created:** [September 20, 2023, 8:45pm UTC](https://community.hubspot.com/t/custom-re-direct-based-on-form-submissions/90112 "2023-09-20T20:45:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MHarp](https://avatars.discourse-cdn.com/v4/letter/m/df788c/32.png) [@MHarp](https://community.hubspot.com/u/MHarp)\
**Post date:** [September 20, 2023, 8:45pm UTC](https://community.hubspot.com/t/custom-re-direct-based-on-form-submissions/90112/1 "2023-09-20T20:45:37Z")

</div>

We are wanting to redirect to a certain check-out cart based on the form submission “Pricing Terms:” [https://pinnacleforum.com/commitment/](https://pinnacleforum.com/commitment/)

Right now, we are using a 2-step email process, but people are missing the second email. So I would want to redirect to a different link based on what a user answers in the pricing terms question.

Is that possible? Currently I see the option for one redirect link.

---

<div class="post-metadata">

**Author:** ![Mike\_Eastwood](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mike_eastwood/32/70075_2.png) [@Mike\_Eastwood](https://community.hubspot.com/u/Mike_Eastwood)\
**Post date:** [September 20, 2023, 9:00pm UTC](https://community.hubspot.com/t/custom-re-direct-based-on-form-submissions/90112/2 "2023-09-20T21:00:14Z")

</div>

Hi @MHarp

The way we handle this on [Portal-iQ](https://portal-iq.com/) is with a Custom Module (with an embedded Form) which customizes the `redirectUrl` in the embed code of the form.

You will need to use the `onFormSubmitted` method to modify the redirection.

Here are some examples on [how to Customize the Form Embed Code](https://legacydocs.hubspot.com/docs/methods/forms/advanced_form_options).

And, you will need to make your form Raw HTML for this to work.

Have fun

Mike

Here to learn more about HubSpot and share my HubSpot Knowledge. I’m the founder of [Webalite](https://www.webalite.com?utm_campaign=community-forum&utm_source=community&utm_content=signature) a HubSpot Partner Agency based in Wellington, New Zealand and the founder of **Portal-iQ** the world’s first automated [HubSpot Portal Audit](https://portal-iq.com?utm_campaign=community-forum&utm_source=community-forum&utm_content=signature) that helps you work smarter with HubSpot.
