Guest Posted December 18, 2015 Share Posted December 18, 2015 Code(s) are working great! Thank you! My issue is that I'd prefer it opened in another browser tab/window. Anyone know how to do that with this code? <script type="text/javascript"> var url = "https://google.com"; // IE8 and lower fix if (navigator.userAgent.match(/MSIE\s(?!9.0)/)) { var referLink = document.createElement("a"); referLink.href = url; document.body.appendChild(referLink); referLink.click(); } // All other browsers else { window.location.assign(url); } Thanks! If needed, my site is at http://goffcreative.com (Very altered Pacific Template—I get asked a lot...) Link to comment
so-in Posted December 31, 2015 Share Posted December 31, 2015 will this syntax work with an internal url ? url/about-us Link to comment
Guest Posted March 4, 2016 Share Posted March 4, 2016 Has anything been updated on this recently? I tried to add it to the 'configure page' 'advanced' section of the page that holds the form, and instead of redirecting me to your google page once I filled out the form, it redirected me there as soon as I clicked on the page navigation! Also - when I was trying to replace = "https://google.com"; I put = "www.whatsalreadyworking.com/thank-you"; (which is my desired landing page) and instead it came up with the URL www.whatsalreadyworking.com/discoverwww.whatsalreadyworking.com/thank-you which obviously does not exist. Thanks! Link to comment
kfoody Posted March 26, 2016 Share Posted March 26, 2016 Am I BLIND?! Is the "code" that you're talking about just " " What URL is there to be replaced? I'm SOOOO frustrated that this isn't just freaking normal to have a redirect! Link to comment
squareguru Posted July 2, 2016 Share Posted July 2, 2016 We've created a free plugin to do exactly this (no coding required, just copy and paste): http://www.squareguru.com/form-redirect It’s been tested on all major browsers and works on mobile as well. www.squareguru.com Link to comment
squareguru Posted July 2, 2016 Share Posted July 2, 2016 We've created a free plugin to do exactly this (no coding required, just copy and paste): http://www.squareguru.com/form-redirect It’s been tested on all major browsers and works on mobile as well. www.squareguru.com Link to comment
evanlemmons Posted September 7, 2016 Share Posted September 7, 2016 What? There's no code. It's all blank? Link to comment
evanlemmons Posted September 7, 2016 Share Posted September 7, 2016 What? There is no code at all. It's just ``? Link to comment
Kevinhomesecure Posted January 11, 2017 Share Posted January 11, 2017 This CCS code injection works perfectly for me on all of my forms except the one on the homepage and on a page where I use a form with lightbox mode. Any idea, why it would work on some pages and not on others? I'm more concerned about the homepage one at the moment. It's the only form on this page. My site is https://kevin-turner-49d4.squarespace.com Thanks, Kevin Link to comment
Third Ocean Posted January 31, 2018 Share Posted January 31, 2018 @silvabokis has the right code. I discovered that if you are using your form in a lightbox within an index you need to apply his code in the code injection space in the main settings or inside the site.region file if you're in developer mode. This twist on his solution wouldn't work if you have various forms throughout the website that all need their own redirect page. I'm using this for conversion tracking and retargeted advertising, so I'm just redirecting every form submission to www.mybaseurl.com/# and inputting that as my "converted" url. Raise Capital Faster: Reaching More Investors with the Power of Technology Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.