Jump to content

Form post-submit redirect to new tab

Recommended Posts

Currently, I have a link in the post-submit for my form, but I'd like it to open in a new tab and preserve the website rather than replace the current tab. I know there's an easy solution for this for most link redirects, but for some reason the "open in new tab" slider is not an option in the settings for form links. Is there a way to code this in? Thanks!

Link to comment
  • Replies 5
  • Views 786
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

On 6/30/2023 at 3:45 AM, tuanphan said:
<script>
window.open('http://google.com', '_blank');
</script>

Thanks for the reply, but this didn't solve the issue--no tab opens, I just get the post-submit message. 

Edited by Nivi
Link to comment
  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.