Support » Plugin: MC4WP: Mailchimp for WordPress » Open redirect URL in new tab

  • Resolved addierohrbach

    (@addierohrbach)


    Hello!

    Right now I am redirecting the user to a URL when they hit the submit button. It is loading the url in the current tab; however, I would like it to open a new tab. How would I go about doing this?

Viewing 1 replies (of 1 total)
  • Plugin Contributor Lap

    (@lapzor)

    I’m afraid that is not a build in option in our plugin.
    The only way to do this would be by hooking into the javascript event that fires when the form is submitted and then write your own code to open the link in a new tab.

    https://www.mc4wp.com/kb/javascript-form-events/

    The reason we didn’t build this into the plugin is that most browsers will block the new window anyway with their popup blocker.

    Hope that helps. If you have any questions, please let me know!

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.