• Resolved ejaganece

    (@ejaganece)


    Hi, i tried Form Submission Redirect in a New Window with this code

    `/**
    * Redirect link in new tab.
    *
    * @link https://wpforms.com/developers/how-to-open-redirect-in-a-new-window/
    *
    */
    function wpf_dev_open_redirect_new( ) {
    ?>
    <script type=”text/javascript”>
    jQuery(function($){
    $(“form#wpforms-form-530”).attr(“target”, “_blank”);
    });

    document.getElementById(“wpforms-form-530”).onsubmit = function(){
    location.reload(true);
    }
    </script>
    <?php
    }
    add_action( ‘wpforms_wp_footer_end’, ‘wpf_dev_open_redirect_new’, 30 );`

    its working fine, but can you please tell how can i set Multiple Forms Submission Redirect in a New Window.

    Thanks,
    Jagan

    • This topic was modified 3 years, 5 months ago by ejaganece.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey @ejaganece,

    Thanks for reaching out!

    While we do offer these custom snippets in our developer documents as a courtesy, further customizations like this are outside of our scope for support.

    In case you’d like to look into custom development options, we highly recommend using Codeable.

    Thanks!

    judah75

    (@judah75)

    Was looking for an answer to this question as well. Shame that this is the answer and I’m not sure why this is labeled resolved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Multiple Forms Submission Redirect in a New Window’ is closed to new replies.