Preventing a Refresh of the page after Form Submit

SOLVE
Occasional Contributor

Hello to everyone,

 

is it possible to prevent a Hubspot form to refresh after submitting?

 

Thank you for your help!

 

Kathi

Reply
0 Upvotes
1 Accepted solution

Accepted Solutions
Esteemed Contributor

@KathiNetpress Officially? No, there is not. However, is it possible? Yes, it is - albeit it's a hack. See this gist: https://gist.github.com/hijonathan/9898070

 

I actually used a modified version of this with this email signature generator so i can confirm it does work. But there were issues with IE/Edge if you just copy the gist as is.

Reply
0 Upvotes
1 Reply
Esteemed Contributor

@KathiNetpress Officially? No, there is not. However, is it possible? Yes, it is - albeit it's a hack. See this gist: https://gist.github.com/hijonathan/9898070

 

I actually used a modified version of this with this email signature generator so i can confirm it does work. But there were issues with IE/Edge if you just copy the gist as is.

Reply
0 Upvotes