- swhitt1Asked on February 15, 2018 at 10:29 AM
I have a from iframed into our site. Upon sumbission I would like the current page to reload with hash at the eand of the url.
Current page: example.com
On reload: example.com#thanks
It is appending the hash but not initiating an actual reload. So my JS that is targeting the iframe and the hash is not working. Why would it not reload the page? I am needing this so I can target the form submission for goal conversions.
- JotForm SupportaubreybourkeAnswered on February 15, 2018 at 12:07 PM
You can use a custom thank you page by redirecting to and external link.
- swhitt1Answered on February 15, 2018 at 12:35 PM
I know but I don’t want to use a custom page (aka different url). I would like to have the message load in the same page (same url + #thanks) but on a page refresh. The hash is getting added but the refresh is not firing. I have custom JS on the page that looks for the hash on load and then preforms an action. Since the page is not actually refreshing the JS doesn't fire.
- swhitt1Answered on February 15, 2018 at 12:38 PM
doh.. I read your email wrong. that worked!! Thanks!