Open site in new window after click submit in contact form

resolved (3 posts) (2 voices)

  1. VR360
    Member

    Hello,

    I would like to open a website in a new window after my visitor fill in the form and click the submit button. How can I do it ?
    I've made a contact form via shortcodes. You can check it here: http://www.reservajaguare.com.br

    Thanks a lot

    Posted 7 months ago #
  2. Elliott
    Support

    Hello VR360,

    Try pasting this in Dashboard -> your theme -> General Settings -> Custom Javascript,

    jQuery('.contact_form_submit').click(function(){ window.open("URL", "_blank"); });

    And replace "URL" with your link.

    Posted 7 months ago #
  3. VR360
    Member

    Exactly what I need. Worked perfectly. Elliot, thank you again for your fast support.

    Posted 7 months ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme