Support » Plugin: CP Contact Form with PayPal » Opening PayPal in New Window

  • Resolved nrtdesign


    Can you direct me to the file that I could change so I could force PayPal to open in a new window? I just need to change it from _self to _blank.


Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author codepeople



    Into the “Customization Area” >> “Add Custom JavaScript” located at the bottom of the page that contains the list of forms, add the following script:

    document.addEventListener("DOMContentLoaded", function(event) {

    Thank you for using the plugin!

    • This reply was modified 9 months, 2 weeks ago by codepeople.

    Thanks for responding so fast. But I added this code where you instructed, and its still not opening in a new window. I refreshed the browser multiple times, and its still not doing it.

    Plugin Author codepeople



    Please open a private ticket (it’s free) at and indicate into the message the address of the page that contains the form to check the case in detail and adjust the provided code if needed.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Opening PayPal in New Window’ is closed to new replies.