• I am using WordPress Contact Form 7 and Ninja Popups. I would like to open a popup when the form is sent using CF7’s additional settings. I have tried:

    on_sent_ok: "snp_open_popup(’’,’’,’snppopup-content-POPUPID’,’content’);"
    (where POPUPID is the ID of the ninja popup that I want to open) I read on the ninja popup comments that you can call a popup using javascript, but none of the code that the author posted there is not working for this – I don’t know if it will work or if I am just not doing it right :). I would appreciate any help on making this work if it is even possible.

    these are the ways that were posted to open a popup using javascript by using a np shortcode in the content – (can you even use shortcodes in the CF7 additional settings?)

    jQuery(“SELECTOR”).click(function(){ return snp_open_popup(’’,’’,’snppopup-content-POPUPIDHERE’,’content’); });

    onclick=”return snp_open_popup(’’,’’,’snppopup-content-POPUPIDHERE’,’content’); ”

    Thanks!

    https://www.ads-software.com/plugins/contact-form-7/

  • The topic ‘Possible to open ninja popup on send?’ is closed to new replies.