CMS Development

KathiNetpress
Participant | Diamond Partner
Participant | Diamond Partner

Preventing a Refresh of the page after Form Submit

SOLVE

Hello to everyone,

 

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

 

Thank you for your help!

 

Kathi

0 Upvotes
1 Accepted solution
stefen
Solution
Key Advisor | Partner
Key Advisor | Partner

Preventing a Refresh of the page after Form Submit

SOLVE

@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.

Stefen Phelps, Community Champion, Kelp Web Developer

View solution in original post

0 Upvotes
1 Reply 1
stefen
Solution
Key Advisor | Partner
Key Advisor | Partner

Preventing a Refresh of the page after Form Submit

SOLVE

@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.

Stefen Phelps, Community Champion, Kelp Web Developer
0 Upvotes