Not redirecting to thank you page on form submission

Highlighted
New Member

I have created a multistep form in HubSpot using HubSpot forms. I want to redirect to a thank you page(which was build using HubSpot) on second step form submit. I gave the HubSpot thank you template name on 'redirect to another page' option available in HubSpot form. But it is not redirecting.

I have altered the form submission code a bit to make multistep functionality ( using this code :  if(event.data.type === 'hsFormCallback' && event.data.eventName === 'onFormSubmit')  ) . Is it bcoz of this the issue is happening? If I do redirect for the first step it works perfectly. I am having a problem when I go to the second step and redirect.

 

What are the possible solutions for this?

Reply
0 Upvotes
1 Reply
Community Manager

Hi @Neenu,

 

Do you have a link to the page you're working on? While I am not an expert in this area, I would imagine that altering the native functionality could cause redirect issues. 

 

If your website is hosted by HubSpot, then you should have access to HubSpot technical support who can address this issue specific to your portal as well.

 

Thank you,

Jenny


Did my post help answer your query? Help the Community by marking it as a solution
Reply
0 Upvotes